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

17 lines 1.88 kB
/*! * Copyright 2026 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import"./core-COCvCZRc.js";import"./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;export{e as __meta__,t as default}; //# sourceMappingURL=kendo.html.chiplist.js.map