primevue
Version:
PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBloc
2 lines (1 loc) • 706 B
JavaScript
this.primevue=this.primevue||{},this.primevue.togglebutton=this.primevue.togglebutton||{},this.primevue.togglebutton.style=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return e(primevue.base.style).default.extend({name:"accordion",classes:{root:function(t){var e=t.instance,o=t.props;return["p-button p-togglebutton p-component",{"p-focus":e.focused,"p-button-icon-only":e.hasIcon&&!e.hasLabel,"p-disabled":o.disabled,"p-highlight":!0===o.modelValue}]},icon:function(t){var e=t.instance,o=t.props;return["p-button-icon",{"p-button-icon-left":"left"===o.iconPos&&e.label,"p-button-icon-right":"right"===o.iconPos&&e.label}]},label:"p-button-label"}})}();