PageSourceSearch

https://www.libriincantina.it/wp-includes/js/jquery/ui/effect-highlight.js?ver=1.14.2

js libriincantina.it collected 2026-10-02 07:13:14 UTC 1,243 bytes, 60 lines download raw bytes

vendor: 1,243 bytes, lines 1-60
1/*!
2 * jQuery UI Effects Highlight 1.14.2
3 * https://jqueryui.com
4 *
5 * Copyright OpenJS Foundation and other contributors
6 * Released under the MIT license.
7 * https://jquery.org/license
8 */
9
10//>>label: Highlight Effect
11//>>group: Effects
12//>>description: Highlights the background of an element in a defined color for a custom duration.
13//>>docs: https://api.jqueryui.com/highlight-effect/
14//>>demos: https://jqueryui.com/effect/
15
16( function( factory ) {
17	"use strict";
18
19	if ( typeof define === "function" && define.amd ) {
20
21		// AMD. Register as an anonymous module.
22		define( [
23			"jquery",
24			"../version",
25			"../effect"
26		], factory );
27	} else {
28
29		// Browser globals
30		factory( jQuery );
31	}
32} )( function( $ ) {
33"use strict";
34
35return $.effects.define( "highlight", "show", function( options, done ) {
36	var element = $( this ),
37		animation = {
38			backgroundColor: element.css( "backgroundColor" )
39		};
40
41	if ( options.mode === "hide" ) {
42		animation.opacity = 0;
43	}
44
45	$.effects.saveStyle( element );
46
47	element
48		.css( {
49			backgroundImage: "none",
50			backgroundColor: options.color || "#ffff99"
51		} )
52		.animate( animation, {
53			queue: false,
54			duration: options.duration,
55			easing: options.easing,
56			complete: done
57		} );
58} );
59
60} );

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.