Files
Hristo Hristov f350f7191d textTransform, whiteSpace & textAlignment defaultValue is now “initia” (#3948)
removed enum namespaces
add valueConverter to clipToBounds
2017-04-06 09:50:37 +03:00

17 lines
482 B
TypeScript

import { Button as ButtonDefinition } from ".";
import { TextBase } from "../text-base";
export * from "../text-base";
export abstract class ButtonBase extends TextBase implements ButtonDefinition {
public static tapEvent = "tap";
get textWrap(): boolean {
return this.style.whiteSpace === "normal";
}
set textWrap(value: boolean) {
this.style.whiteSpace = value ? "normal" : "nowrap";
}
}
// ButtonBase.prototype.recycleNativeView = true;