Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
private fixNum(value: number) {
return Math.min(Math.max(toNumber(value), 0), 100);
}
set labelWidth(value: any) {
this._labelWidth = toNumber(value, 0);
}
get labelWidth() {
set col(value: any) {
this._span = 24 / toNumber(value, 2);
}
get col() {
set gutter(value: any) {
this._gutter = toNumber(value);
}
private _gutter = 32;
set gutter(value: number) {
this._gutter = toNumber(value);
}
private _gutter: number;
set col(value: any) {
this._col = toNumber(value);
}
private _col = 3;