UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

44 lines (40 loc) 1.47 kB
/*! * KoliBri - The accessible HTML-Standard */ 'use strict'; var index = require('./index-BrhW8s5h.js'); var variantQuote = require('./variant-quote-DpNzmCtr.js'); var controller = require('./controller-CHDjVlC1.js'); require('./common-DPb6NWR4.js'); require('./normalizers-BCLslVaT.js'); require('./_Uint8Array-BAQUGozM.js'); require('./isArray-BOIOdEQh.js'); require('./bem-registry-DevvgGUu.js'); require('./label-DRrPbj-j.js'); require('./base-controller-DAzsTqX9.js'); const KolClickButton = class extends variantQuote.BaseWebComponent { constructor(hostRef) { super(); index.registerInstance(this, hostRef); this.ctrl = new controller.ClickButtonController(this.stateAccess); } watchLabel(value) { this.ctrl.watchLabel(value); } async focus() { return Promise.resolve(this.ctrl.focus()); } componentWillLoad() { this.ctrl.componentWillLoad({ label: this._label, }); } render() { return (index.h(index.Host, { key: '13b02362df73f8676bd663d495d9f8db728aced1' }, index.h(controller.ClickButtonFC, { key: 'dcd11986d2f98368d9c36d1233f34040794ce8e2', label: this.ctrl.getRenderProp('label'), refButton: this.ctrl.setButtonRef, handleClick: this.ctrl.handleClick }))); } static get watchers() { return { "_label": ["watchLabel"] }; } }; exports.kol_click_button = KolClickButton; //# sourceMappingURL=kol-click-button.entry.cjs.js.map