PageSourceSearch

https://www.nparks.gov.sg/ResourcePackages/NParks/assets/dist/js/kendo/kendo.label.min.js

js nparks.gov.sg collected 2026-10-01 08:44:09 UTC 2,011 bytes, 10 lines download raw bytes

1/**
2 * Kendo UI v2023.2.606 (http://www.telerik.com/kendo-ui)
3 * Copyright 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
4 *
5 * Kendo UI commercial licenses may be obtained at
6 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
7 * If you do not own a commercial license, this file shall be governed by the trial license terms.
8 */
9!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min","kendo.floatinglabel.min"],e):e()}((function(){var e=window.kendo,n=e.jQuery,t=e.ui.Widget,a=e.isFunction,i=t.extend({options:{name:"Label",widget:null},init:function(e,a){var i=this;e=e||n("<label></label>"),t.fn.init.call(i,e,a),a=n.extend(!0,{},a),i.widget=a.widget,a.floating&&i._floatingLabel(),i._label()},destroy:function(){this.floatingLabel&&this.floatingLabel.destroy(),t.fn.destroy.call(this)},_unwrapFloating:function(){var e=this;e.floatingLabel&&(e.floatingLabel.destroy(),e.widget.wrapper.unwrap(e._floatingLabelContainer))},setOptions:function(e){var a=this,i=!1;("string"==typeof e||n.isPlainObject(e)&&!1===e.floating)&&(i=!0),e=n.isPlainObject(e)?e:{content:e},t.fn.setOptions.call(a,e),i&&a.floatingLabel?(a._unwrapFloating(),a.floatingLabel.destroy(),delete a.floatingLabel):!0!==e.floating||a.floatingLabel||(a.element.remove(),a._floatingLabel()),a._label(),a.floatingLabel&&a.floatingLabel.refresh()},_label:function(){var n=this,t=n.widget.element,i=n.options,l=t.attr("id"),o=i.content;a(o)&&(o=o.call(n)),o||(o=""),l||(l=i.name+"_"+e.guid(),t.attr("id",l)),n.element.addClass("k-label k-input-label").attr("for",l).text(o).insertBefore(n.options.beforeElm||n.widget.wrapper)},_floatingLabel:function(){var t=this,a=n.extend({},t.options);delete a.name,(a.floating||!1)&&(t._floatingLabelContainer=t.widget.wrapper.wrap("<span></span>").parent(),t.floatingLabel=new e.ui.FloatingLabel(t._floatingLabelContainer,n.extend({},a)))}});e.ui.plugin(i)}));
10//# sourceMappingURL=kendo.label.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.