Closed yoyosaygood closed 2 years ago
The icon has to be a valid URL:
core.url()
or a valid URL to a resource in /
import
statement via Webpackcore.make('osjs/theme').icon('icon-name')
(I cannot remember if you need extension)like It will disappear when the mouse is removed or clicked
What do you mean by this exactly ?
Closing because of inactivity. Feel free to re-open :)
how to set icon for contextmenu?I use 'icon' but in elements it become style; { label: 'xxx', icon: 'edit-cut', type: 'othermenu', items: [...] } It should be '' but i got ''.I also want the default menu function on demo https://demo.os-js.org/ like It will disappear when the mouse is removed or clicked