sk-toolbar-antd4
v0.2.26
Published
skinny-widgets toolbar element for antd4 theme
Downloads
2
Readme
Skinny Widgets Toolbar for Antd4 Theme
toolbar element
npm i sk-toolbar sk-toolbar-antd4 --save
<sk-toolbar id="skToolbar">
<sk-toolbar-item>foo</sk-toolbar-item>
<sk-toolbar-item>bar</sk-toolbar-item>
</sk-toolbar>
<script type="module">
import { SkConfig } from '/node_modules/sk-config/src/sk-config.js';
import { SkToolbar } from '/node_modules/sk-toolbar/src/sk-toolbar.js';
skToolbar.addEventListener('toolbaritemclick', (event) => {
console.log('event', event);
});
customElements.define('sk-config', SkConfig);
customElements.define('sk-toolbar', SkToolbar);
</script>
id: SkMenuTpl