fix: restore TextField.textChange and Switch.checkedChange event syntax in xml (#7403)

This commit is contained in:
Nathanael Anderson
2019-06-27 09:14:44 -05:00
committed by Manol Donev
parent c2656a4be4
commit 76b5089589
4 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ export * from "../text-base";
export abstract class EditableTextBase extends TextBase implements EditableTextBaseDefinition {
public static blurEvent = "blur";
public static focusEvent = "focus";
public static textChangeEvent = "textChange";
public keyboardType: KeyboardType;
public returnKeyType: ReturnKeyType;

View File

@ -10,6 +10,7 @@ import { TextBase, Property, CssProperty, Style, Color, FormattedString } from "
export class EditableTextBase extends TextBase {
public static blurEvent: string;
public static focusEvent: string;
public static textChangeEvent: string;
/**
* Gets or sets the soft keyboard type.

View File

@ -6,6 +6,8 @@ export * from "../core/view";
@CSSType("Switch")
export class SwitchBase extends View implements SwitchDefinition {
public static checkedChangeEvent = "checkedChange";
public checked: boolean;
public offBackgroundColor: Color;

View File

@ -11,6 +11,8 @@ import { Color } from "../../color";
*/
export class Switch extends View {
public static checkedChangeEvent: string;
/**
* Gets the native [android widget](http://developer.android.com/reference/android/widget/Switch.html) that represents the user interface for this component. Valid only when running on Android OS.
*/