@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
3 lines (2 loc) • 1.77 kB
JavaScript
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("kendo.html.icon.js"),require("kendo.svg-icons.cmn.chunk.js")):"function"==typeof define&&define.amd?define(["exports","kendo.html.icon","kendo.svg-icons.cmn.chunk"],e):e(((n="undefined"!=typeof globalThis?globalThis:n||self).kendo=n.kendo||{},n.kendo._globals=n.kendo._globals||{},n.kendo._globals.Icons={}),n.kendo._globals.HtmlIcon,n.kendo._globals.SvgIconsCmnChunk)}(this,(function(n,e,o){!function(n){var e=window.kendo,t=e.html,i=e.ui.Widget,c=n.extend,s=i.extend({init:function(o,c){var s=this;i.fn.init.call(s,o,c),delete c.name,s._icon=new t.HTMLFontIcon(o,n.extend({},c)),s.element=s.wrapper=s._icon.element,e.notify(s)},options:c({},t.HTMLFontIcon.fn.options,{name:"FontIcon"}),setOptions:function(e){var o=this;i.fn.setOptions.call(o,e),o._icon=new t.HTMLFontIcon(o.element,n.extend({},o.options))}}),l=i.extend({init:function(o,c){var s=this;i.fn.init.call(s,o,c),delete c.name,s._icon=new t.HTMLSvgIcon(o,n.extend({},c)),s.element=s.wrapper=s._icon.element,e.notify(s)},options:c({},t.HTMLSvgIcon.fn.options,{name:"SvgIcon"}),setOptions:function(e){var o=this;i.fn.setOptions.call(o,e),e.icon&&this.element.html(""),o._icon=new t.HTMLSvgIcon(o.element,n.extend({},o.options))}});e.ui.plugin(s),e.ui.plugin(l),e.setDefaults("iconType","svg"),e.ui.svgIcons=o.s,e.ui.icon=t.renderIcon}(window.kendo.jQuery);var t=kendo;n.__meta__={id:"icons",name:"Icons",category:"web",description:"The Icons set provides both FontIcon and SvgIcon components along with the SVG icons collection from @progress/kendo-svg-icons",depends:["core","html.icon","svg-icons.cmn.chunk"]},n.default=t,Object.defineProperty(n,"__esModule",{value:!0})}));
//# sourceMappingURL=kendo.icons.min.js.map