Difference between revisions of "Widget:DCTList"

From LINKS Community Center
Jump to: navigation, search
Line 269: Line 269:
 
                     formatter: function (cell) {
 
                     formatter: function (cell) {
 
                         const output = cell.getValue()
 
                         const output = cell.getValue()
                             .map(func => '<img class="func-img" src="' + fnImages[func] + '">').join('');
+
                             .map(func => '<img class="func-img" src="' + fnImages[func] + '" alt="' + func + '" title="' + func + '">')
 +
                            .join('');
 
                         return output;
 
                         return output;
 
                     }
 
                     }

Revision as of 16:25, 13 June 2022

Development verstion of the DCT List.
Not ready for production!