src/plugin/iframe_root/modules/notifications/icons.js
/**
     * Returns an i element for an entity icon. Generally something like "fa fa-foobar"
     * @param {string} type - an entity type
     */
Returns an i element for an entity icon. Generally something like "fa fa-foobar"
@param {string} type - an entity type
Returns an i element for an entity icon . Generally something like " fa fa - foobar " @param { string } type - an entity type
function entityIcon(type) {
        let icon = DEFAULT_ICON;
        if (ENTITY_ICONS[type]) {
            icon = ENTITY_ICONS[type];
        }
        return `<i class="${icon}"></i>`;
    }
function entityIcon ( type ) { let icon = DEFAULT_ICON ; if ( ENTITY_ICONS [ type ] ) { icon = ENTITY_ICONS [ type ] ; } return ` ${ icon } ` ; }
Returns an i element for an entity icon.
Returns an i element for an entity icon .