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) • 603 B
JavaScript
this.primevue=this.primevue||{},this.primevue.selectbutton=this.primevue.selectbutton||{},this.primevue.selectbutton.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:"selectbutton",classes:{root:function(t){var e=t.props;return["p-selectbutton p-button-group p-component",{"p-disabled":e.disabled,"p-invalid":e.invalid}]},button:function(t){var e=t.instance,n=t.option;return["p-button p-component",{"p-highlight":e.isSelected(n),"p-disabled":e.isOptionDisabled(n)}]},label:"p-button-label"}})}();