eiam-favorite-pages
Version:
Stencil Component Starter
33 lines (29 loc) • 744 B
JavaScript
import { r as registerInstance, h } from './index-B5PT1Ofq.js';
import { format } from './index.js';
const myComponentCss = ":host{display:block}";
const MyComponent = class {
constructor(hostRef) {
registerInstance(this, hostRef);
}
/**
* The first name
*/
first;
/**
* The middle name
*/
middle;
/**
* The last name
*/
last;
getText() {
return format(this.first, this.middle, this.last);
}
render() {
return h("div", { key: '9c0276700367b6159f73c437a7e0eb0e9a0d5d56' }, "Hello, World! I'm ", this.getText());
}
};
MyComponent.style = myComponentCss;
export { MyComponent as my_component };
//# sourceMappingURL=my-component.entry.js.map