import {html} from 'xtal-element/lib/html.js'; import {SwagTagBaseProps} from '../types.d.js'; import('wc-info/wc-info-fetch.js'); import('pass-prop/p-p.js'); import('pass-down/p-d.js'); import('xtal-fragment/xtal-fragment.js'); export {xc} from 'xtal-element/lib/XtalCore.js'; export {html} from 'xtal-element/lib/html.js'; import {def} from 'd-fine/def.js'; const mainTemplate = html` Demo of {{tag}} Create a template in sub-classes, and set the "editor" property equal to the template you want displayed. View Manifest File `; export const SwagTagBase = def(mainTemplate, { as:'swag-tag-base', sp:['tag', 'href'], }); export interface SwagTagBase extends SwagTagBaseProps{}; declare global { interface HTMLElementTagNameMap { "swag-tag-base": SwagTagBase, } }