Difference between revisions of "Widget:DCTList"
From LINKS Community Center
Line 58: | Line 58: | ||
opacity: .25; | opacity: .25; | ||
} | } | ||
+ | .func-img { width: 2em; height: 2em; } | ||
</style> | </style> | ||
Line 247: | Line 248: | ||
field: 'functions', | field: 'functions', | ||
formatter: function (cell) { | formatter: function (cell) { | ||
− | + | const output = cell.getValue() | |
− | return | + | .map(func => '<img class="func-img" src="' + fnImages[func] + '">').join(); |
+ | return output; | ||
} | } | ||
}, | }, |
Revision as of 15:13, 13 June 2022
Development verstion of the DCT List.
Not ready for production!