Class: AspectRatio

WinJSContrib.UI. AspectRatio

resize item based on its proportions

new AspectRatio(element, options)

Parameters:
Name Type Description
element HTMLElement

DOM element owning the control

options Object
Source:

Members

basedOn

based on

Source:

baseHeight

base height

Source:

baseHeightMargin

base height margin

Source:

baseHeightMin

base height minimum

Source:

baseWidth

base width

Source:

baseWidthMargin

base width margin

Source:

baseWidthMin

base width minimum

Source:

ratio

aspect ratio

Source:

target

target

Source: