UNPKG

pass-message

Version:

Web component that allows for invoking an arrow function or method of the host. or other "upSearched" components.

16 lines (15 loc) 296 B
import {def} from 'trans-render/lib/def.js'; import {PassMessage} from './pass-message.js'; /** * @tag p-m * @element p-m */ export class PM extends PassMessage{ static is = 'p-m'; } def(PM); declare global { interface HTMLElementTagNameMap { "p-m": PM, } }