PopoverTool
MMO.editor · 1 symbole · générée le 27 Oct 2026
PopoverTool
Tool.js:228A tool whose button opens a panel under it (a colour grid, a link form, a table menu ...).
- Espace de noms
MMO.editor- Étend
- Tool
Index
| onClick(editor, button) | ||
| renderPopover(editor) | ||
| createItem(content, onclick, attrs) | A button of the panel, which does not take the focus away from the text either. |
Méthodes3
onClick(editor, button)
Tool.js:229| editor | ||
| button |
renderPopover(editor)
Tool.js:237| editor | HTMLElement | |
| retourne | Array<Node> | Node | the panel's content |
createItem(content, onclick, attrs)
Tool.js:248A button of the panel, which does not take the focus away from the text either.
| content | string | Node | |
| onclick | Function | |
| attrs = {} | Object | more attributes |
| retourne | HTMLButtonElement |