| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- // node_modules/jquery-ui/ui/effects/effect-highlight.js
- (function(factory) {
- "use strict";
- if (typeof define === "function" && define.amd) {
- define([
- "jquery",
- "../version",
- "../effect"
- ], factory);
- } else {
- factory(jQuery);
- }
- })(function($) {
- "use strict";
- return $.effects.define("highlight", "show", function(options, done) {
- var element = $(this), animation = {
- backgroundColor: element.css("backgroundColor")
- };
- if (options.mode === "hide") {
- animation.opacity = 0;
- }
- $.effects.saveStyle(element);
- element.css({
- backgroundImage: "none",
- backgroundColor: options.color || "#ffff99"
- }).animate(animation, {
- queue: false,
- duration: options.duration,
- easing: options.easing,
- complete: done
- });
- });
- });
- /*! Bundled license information:
- jquery-ui/ui/effects/effect-highlight.js:
- (*!
- * jQuery UI Effects Highlight 1.14.1
- * https://jqueryui.com
- *
- * Copyright OpenJS Foundation and other contributors
- * Released under the MIT license.
- * https://jquery.org/license
- *)
- */
- //# sourceMappingURL=jquery-ui_ui_effects_effect-highlight.js.map
|