diff --git a/src/selector_manager/config/config.js b/src/selector_manager/config/config.js index c4e24ae47..74089d2f2 100644 --- a/src/selector_manager/config/config.js +++ b/src/selector_manager/config/config.js @@ -22,6 +22,62 @@ export default { // } selectedName: 0, + // Icon used to add new selector + iconAdd: + '', + + // Icon used to sync styles + iconSync: + '', + + /** + * Custom render function for the Select Manager + * @example + * render: ({ el, labelHead, labelStates, labelInfo, }) => { + * // You can use the default `el` to extend/edit the current + * // DOM element of the Selector Manager + * const someEl = document.createElement('div'); + * // ... + * el.appendChild(someEl); + * // no need to return anything from the function + * + * // Create and return a new DOM element + * const newEl = document.createElement('div'); + * // ... + * return newEl; + * + * // Return an HTML string for a completely different layout. + * // Use `data-*` attributes to make the module recognize some elements: + * // `data-states` - Where to append state `