halfnelson / nativescript-source-to-jsx-def

Walk nativescript source to generate JSX types for `svelte-type-checker-vscode`
Other
4 stars 1 forks source link

View missing onLayoutChanged #21

Open shirakaba opened 4 years ago

shirakaba commented 4 years ago

View has three static event names listed here:

export abstract class View extends ViewBase {
    /**
     * String value used when hooking to layoutChanged event.
     */
    public static layoutChangedEvent: string;
    /**
     * String value used when hooking to showingModally event.
     */
    public static showingModallyEvent: string;

    /**
     * String value used when hooking to shownModally event.
     */
    public static shownModallyEvent: string;

    // ...
}

Although the two events regarding modals are represented in the JSX typings, onLayoutChanged is not.