regions property
dynamic
get
regions
Implementation
external dynamic
/*{
/**
* Update regions.
* @param regions Regions will be replaced with this argument. The format of this argument is the same as regions.
*/
(regions: any[]): void;
/**
* Add new region. This API adds new region instead of replacing like regions.
* @param grids New region will be added. The format of this argument is the same as regions and it's possible to give an Object if only one region will be added.
*/
add(regions: any[] | {}): void;
/**
* Remove regions. This API removes regions.
* @param args This argument should include classes. If classes is given, the regions that have one of the specified classes will be removed. If args is not given, all of regions will be
* removed.
*/
remove(args?: { value?: number | string; class?: string }): void;
}*/
get regions;
set
regions
(dynamic v)
Implementation
external set regions(
dynamic
/*{
/**
* Update regions.
* @param regions Regions will be replaced with this argument. The format of this argument is the same as regions.
*/
(regions: any[]): void;
/**
* Add new region. This API adds new region instead of replacing like regions.
* @param grids New region will be added. The format of this argument is the same as regions and it's possible to give an Object if only one region will be added.
*/
add(regions: any[] | {}): void;
/**
* Remove regions. This API removes regions.
* @param args This argument should include classes. If classes is given, the regions that have one of the specified classes will be removed. If args is not given, all of regions will be
* removed.
*/
remove(args?: { value?: number | string; class?: string }): void;
}*/
v);