Widget: DCTList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
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) {
                         let fuck = cell.getValue().map(func => '<img src="' + fnImages[func] + '">').join();
                         const output = cell.getValue()
                         return fuck;
                            .map(func => '<img class="func-img" src="' + fnImages[func] + '">').join();
                         return output;
                     }
                     }
                 },
                 },

Revision as of 14:13, 13 June 2022

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