chore: default tabs

This commit is contained in:
Nathan Walker
2020-07-09 23:46:02 -07:00
parent 8100cf7089
commit 41f0573d8e
353 changed files with 55344 additions and 55344 deletions

View File

@@ -5,18 +5,18 @@ import { booleanConverter } from '../core/view-base';
@CSSType('Button')
export abstract class ButtonBase extends TextBase implements ButtonDefinition {
public static tapEvent = 'tap';
public static tapEvent = 'tap';
get textWrap(): boolean {
return this.style.whiteSpace === 'normal';
}
set textWrap(value: boolean) {
if (typeof value === 'string') {
value = booleanConverter(value);
}
get textWrap(): boolean {
return this.style.whiteSpace === 'normal';
}
set textWrap(value: boolean) {
if (typeof value === 'string') {
value = booleanConverter(value);
}
this.style.whiteSpace = value ? 'normal' : 'nowrap';
}
this.style.whiteSpace = value ? 'normal' : 'nowrap';
}
}
ButtonBase.prototype.recycleNativeView = 'auto';