Spec-Zone.ru › jQuery UI

jQuery.effects.scaledDimensions()

jQuery.effects.scaledDimensions( element, percent [, direction ] )Returns: Objectversion added: 1.12

Description: Scales the dimensions of an element.

  • jQuery.effects.scaledDimensions( element, percent [, direction ] )

    • element
      Type: jQuery
      The element to scale.
    • percent
      Type: Number
      The percentage of the original size that the element's dimensions should be scaled to.
    • direction
      Type: String
      Which direction to scale the element's dimensions; either "horizontal" or "vertical". If direction is omitted, both dimensions will be scaled.

This method scales the dimensions of an element, returning an object containing height, width, outerHeight, and outerWidth properties. The element is not actually modified.

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API