UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

72 lines (70 loc) 1.85 kB
const require_kendo_licensing = require('./kendo.licensing-DQkab2ZD.js'); let _progress_kendo_ripple = require("@progress/kendo-ripple"); //#region ../src/kendo.ripple.js const __meta__ = { id: "ripplecontainer", name: "RippleContainer", category: "web", depends: ["core"] }; (function($, undefined) { var kendo = window.kendo, ui = kendo.ui, Widget = ui.Widget, extend = $.extend; var RippleContainer = Widget.extend({ init: function(element, options) { var that = this; Widget.fn.init.call(that, element); element = that.wrapper = that.element; element.addClass("k-ripple-container"); that.options = extend({}, that.options, options); that.registerListeners(); }, options: { name: "RippleContainer", elements: [ { selector: ".k-button:not(li)" }, { selector: ".k-list-ul > .k-list-item", options: { global: true } }, { selector: ".k-checkbox-label, .k-radio-label" }, { selector: ".k-checkbox, .k-radio", options: { events: [ "focusin", "animationend", "click" ] } } ] }, removeListeners: function() {}, registerListeners: function() { var that = this; var root = that.element[0]; var elements = that.options.elements; that.removeListeners(); var callback = (0, _progress_kendo_ripple.register)(root, elements); that.removeListeners = callback; }, destroy: function() { var that = this; Widget.fn.destroy.call(that); that.removeListeners(); } }); ui.plugin(RippleContainer); })(window.kendo.jQuery); var kendo_ripple_default = kendo; //#endregion Object.defineProperty(exports, '__meta__', { enumerable: true, get: function () { return __meta__; } }); Object.defineProperty(exports, 'kendo_ripple_default', { enumerable: true, get: function () { return kendo_ripple_default; } });