api.jqueryui.com icon indicating copy to clipboard operation
api.jqueryui.com copied to clipboard

Clip effect - default direction invalid

Open cohesiondx8 opened this issue 7 years ago • 0 comments

http://api.jqueryui.com/clip-effect/ documentation specifies the following settings for the clip effect:

screenshot 2019-01-07 at 16 02 14

However, up should be both according to http://code.jquery.com/ui/1.12.1/jquery-ui.js:

var effectsEffectClip = $.effects.define( "clip", "hide", function( options, done ) {
	var start,
		animate = {},
		element = $( this ),
		direction = options.direction || "vertical",
		both = direction === "both",
		horizontal = both || direction === "horizontal",
		vertical = both || direction === "vertical";

cohesiondx8 avatar Jan 07 '19 16:01 cohesiondx8