Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter Color Sorting
28 lines
1.1 KiB
JavaScript
28 lines
1.1 KiB
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
const index = require('./index-ca0e0765.js');
|
|
|
|
const dropdownTriggerButtonCss = ":host{display:inline-block}.rotate{transition:transform 0.2s ease-in-out;transform:rotate(-180deg);margin-top:0em}.icon{margin-top:0em;transition:transform 0.2s ease-in-out}";
|
|
|
|
const DropdownItem = class {
|
|
constructor(hostRef) {
|
|
index.registerInstance(this, hostRef);
|
|
this.isOpen = false;
|
|
this.theme = 'default';
|
|
this.variant = undefined;
|
|
this.size = 'm';
|
|
this.disabled = undefined;
|
|
this.hideArrow = false;
|
|
}
|
|
render() {
|
|
return (index.h("ifx-button", { variant: this.variant, theme: this.theme, size: this.size, disabled: this.disabled, class: "dropdown-trigger-button" }, index.h("slot", null), !this.hideArrow &&
|
|
index.h("ifx-icon", { icon: "chevron-down-12", class: `icon${this.isOpen ? ' rotate' : ''}` })));
|
|
}
|
|
};
|
|
DropdownItem.style = dropdownTriggerButtonCss;
|
|
|
|
exports.ifx_dropdown_trigger_button = DropdownItem;
|
|
|
|
//# sourceMappingURL=ifx-dropdown-trigger-button.cjs.entry.js.map
|