mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: update tslint rules (#7391)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Placeholder as PlaceholderDefinition, CreateViewEventData } from "."
|
||||
import { View, EventData } from "../core/view"
|
||||
import { Placeholder as PlaceholderDefinition, CreateViewEventData } from ".";
|
||||
import { View, EventData } from "../core/view";
|
||||
|
||||
export class Placeholder extends View implements PlaceholderDefinition {
|
||||
public static creatingViewEvent = "creatingView";
|
||||
@@ -7,6 +7,7 @@ export class Placeholder extends View implements PlaceholderDefinition {
|
||||
public createNativeView() {
|
||||
const args = <CreateViewEventData>{ eventName: Placeholder.creatingViewEvent, object: this, view: undefined, context: this._context };
|
||||
this.notify(args);
|
||||
|
||||
return args.view;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user