import { html, domtools, cssManager } from '@design.estate/dees-element'; import type { DeesForm } from './dees-form.js'; export const demoFunc = () => html`
{ const form: DeesForm = eventArg.currentTarget; form.setStatus('pending', 'authenticating...'); await domtools.plugins.smartdelay.delayFor(1000); form.setStatus('success', 'authenticated!'); }} > Submit
`;