got to layouts

This commit is contained in:
Hristo Hristov
2016-12-09 17:57:17 +02:00
parent 07e2102c5d
commit 19ee47ba24
76 changed files with 941 additions and 1002 deletions

View File

@ -3,7 +3,7 @@ import { EditableTextBase, Property, booleanConverter } from "ui/editable-text-b
export * from "ui/editable-text-base";
export let secureProperty = new Property<TextFieldBase, boolean>({ name: "secure", defaultValue: false, valueConverter: booleanConverter });
export const secureProperty = new Property<TextFieldBase, boolean>({ name: "secure", defaultValue: false, valueConverter: booleanConverter });
secureProperty.register(TextFieldBase)
export class TextFieldBase extends EditableTextBase implements TextFieldDefinition {

View File

@ -130,12 +130,12 @@ export class TextField extends TextFieldBase {
this._delegate = UITextFieldDelegateImpl.initWithOwner(weakRef);
}
protected onLoaded() {
public onLoaded() {
super.onLoaded();
this._ios.delegate = this._delegate;
}
protected onUnloaded() {
public onUnloaded() {
this._ios.delegate = null;
super.onUnloaded();
}