Files
NativeScript/nativescript-core/ui/text-view/text-view-common.ts
Nathan Walker da3c0b973d chore: format
2020-07-11 11:01:40 -07:00

15 lines
439 B
TypeScript

import { TextView as TextViewDefinition } from ".";
import { EditableTextBase } from "../editable-text-base";
import { Property } from "../core/properties";
export class TextViewBase extends EditableTextBase
implements TextViewDefinition {
public maxLines: number;
}
export const maxLinesProperty = new Property<EditableTextBase, number>({
name: "maxLines",
valueConverter: parseInt,
});
maxLinesProperty.register(EditableTextBase);