UNPKG

radh-ui

Version:

Stencil Component Starter

28 lines (22 loc) 710 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-710e648a.js'); const cjsChildCss = ":host{display:block}"; class CjsChild { constructor(hostRef) { index.registerInstance(this, hostRef); this.paga = 0; this.reply = index.createEvent(this, "reply", 7); } async setPaga(money) { this.paga = this.paga + money; } componentDidLoad() { this.reply.emit('Noooooooooooooo'); } render() { return (index.h(index.Host, null, index.h("p", null, "Money: ", this.paga), index.h("p", null, this.messageFromFather))); } } CjsChild.style = cjsChildCss; exports.cjs_child = CjsChild;