nl_tokens: -- Utils -- Shortcut for creating an icon button within a viewer .
pl_tokens: function createIconButton ( viewerElm , css , eventType ) { const buttonElm = $ . create ( 'div' , { 'class' : css } ) $ . listen ( buttonElm , { 'click' : ( event ) => { <mask> . preventDefault ( ) if ( event . buttons === 0 ) { $ . dispatch ( viewerElm , eventType ) } } } ) return buttonElm }