jQuery.effects.clipToBox()

jQuery.effects.clipToBox()

jQuery.effects.clipToBox( animationProperties )Returns: Objectversion added: 1.12

Description: Calculates position and dimensions based on a clip animation.

This method is useful for mimicking a clip animation when using a placeholder for effects. Given a clip animation, jQuery.effects.clipToBox() will generate an object containing top, left, width, and height properties which can be passed to .css() or .animate(). This method is generally used in conjunction with jQuery.effects.createPlaceholder().

© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jqueryui.com/jQuery.effects.clipToBox

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部