fix(core): update

This commit is contained in:
2023-09-04 19:28:50 +02:00
parent 66644364b5
commit fc5f3a9576
8 changed files with 408 additions and 157 deletions

View File

@ -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;