WidgetSizeConverter class
Methods
Columns |
Converts widget column span into pixels |
Get |
|
Get |
|
Get |
|
Get |
|
Rows |
Converts widget row span into pixels |
Method Details
ColumnsToPixelWidth(number)
Converts widget column span into pixels
static function ColumnsToPixelWidth(columnSpan: number): number
Parameters
- columnSpan
-
number
Returns
number
width in pixels
GetWidgetHeight()
static function GetWidgetHeight(): number
Returns
number
height in pixels for 1x1 widget
GetWidgetMarginHeight()
static function GetWidgetMarginHeight(): number
Returns
number
height in pixels for widget gutter
GetWidgetMarginWidth()
static function GetWidgetMarginWidth(): number
Returns
number
width in pixels for widget gutter
GetWidgetWidth()
static function GetWidgetWidth(): number
Returns
number
width in pixels for 1x1 widget
RowsToPixelHeight(number)
Converts widget row span into pixels
static function RowsToPixelHeight(rowSpan: number): number
Parameters
- rowSpan
-
number
Returns
number
height in pixels