UNPKG

kendo-ui-core

Version:

Kendo UI is everything you need to build sites and apps with HTML5 & JavaScript. Kendo UI Core is the free and open-source version of Kendo UI that provides access to the web's best UI widgets and key framework features, essential for developing great exp

2 lines 1.31 kB
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`./core-R4j5Vh3b.js`),require(`./kendo.html.base.js`);const e={id:`html.chiplist`,name:`Html.ChipList`,category:`web`,description:`HTML rendering utility for Kendo UI for jQuery.`,depends:[`html.base`],features:[]};(function(e,t){var n=window.kendo,r=n.html.HTMLBase,i=function(n,r){return(arguments[0]===t||e.isPlainObject(arguments[0]))&&(r=n,n=e(`<div></div>`)),new a(n,r).html()},a=r.extend({init:function(e,t){var n=this;r.fn.init.call(n,e,t),n.wrapper=n.element.addClass(`k-chip-list`),n._applyAriaAttributes(t),n._addClasses()},options:{name:`HTMLChipList`,size:t,stylingOptions:[`size`]},_applyAriaAttributes:function(t){var n=this;t=e.extend({selectable:`none`},t);var r=(t.attributes||{})[`aria-label`];t.selectable===`none`?n.element.removeAttr(`role aria-label aria-multiselectable aria-orientation`):n.element.attr({"aria-multiselectable":t.selectable===`multiple`,role:`listbox`,"aria-label":r||n.element.attr(`id`)+` listbox`,"aria-orientation":`horizontal`})}});e.extend(n.html,{renderChipList:i,HTMLChipList:a}),n.cssProperties.registerPrefix(`HTMLChipList`,`k-chip-list-`)})(window.kendo.jQuery);var t=kendo;exports.__meta__=e,exports.default=t; //# sourceMappingURL=kendo.html.chiplist.js.map