fix(core): update
This commit is contained in:
@ -15,22 +15,16 @@ import { DeesWindowLayer } from './dees-windowlayer.js';
|
||||
export class DeesMobilenavigation extends DeesElement {
|
||||
// STATIC
|
||||
public static demo = () => html`
|
||||
<dees-mobilenavigation
|
||||
.menuItems="${[
|
||||
<dees-button @click=${() => {
|
||||
DeesMobilenavigation.createAndInit([
|
||||
{
|
||||
name: 'hello1',
|
||||
action: async () => {},
|
||||
name: 'Test',
|
||||
action: () => {
|
||||
alert('test');
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hello2',
|
||||
action: async () => {},
|
||||
},
|
||||
{
|
||||
name: 'hello3',
|
||||
action: async () => {},
|
||||
},
|
||||
]}"
|
||||
></dees-mobilenavigation>
|
||||
]);
|
||||
}}></dees-button>
|
||||
`;
|
||||
|
||||
private static singletonRef: DeesMobilenavigation;
|
||||
|
Reference in New Issue
Block a user