fix(core): update
This commit is contained in:
22
ts_web/elements/dees-modal.demo.ts
Normal file
22
ts_web/elements/dees-modal.demo.ts
Normal file
@ -0,0 +1,22 @@
|
||||
import { html } from '@design.estate/dees-element';
|
||||
import { DeesModal } from './dees-modal.js';
|
||||
|
||||
export const demoFunc = () => html`
|
||||
<dees-button @click=${() => {
|
||||
DeesModal.createAndShow({
|
||||
heading: 'This is a heading',
|
||||
content: html`
|
||||
<dees-form>
|
||||
<dees-input-text
|
||||
.label=${'Username'}
|
||||
>
|
||||
</dees-input-text>
|
||||
<dees-input-text
|
||||
.label=${'Password'}
|
||||
>
|
||||
</dees-input-text>
|
||||
</dees-form>
|
||||
`
|
||||
});
|
||||
}}>open modal</dees-button>
|
||||
`
|
Reference in New Issue
Block a user