mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
chore: fix animations e2e app layout import (#6415)
This commit is contained in:
@ -1,13 +1,13 @@
|
|||||||
import { EventData, Page } from "tns-core-modules/ui/page";
|
import { EventData, Page } from "tns-core-modules/ui/page";
|
||||||
import { View } from "tns-core-modules/ui/core/view";
|
import { View } from "tns-core-modules/ui/core/view";
|
||||||
import { Layout } from "tns-core-modules/ui/layouts/layout";
|
import { WrapLayout } from "tns-core-modules/ui/layouts/wrap-layout";
|
||||||
import { Image } from "tns-core-modules/ui/image";
|
import { Image } from "tns-core-modules/ui/image";
|
||||||
|
|
||||||
let wrapLayout: Layout;
|
let wrapLayout: WrapLayout;
|
||||||
|
|
||||||
export function pageLoaded(args: EventData) {
|
export function pageLoaded(args: EventData) {
|
||||||
const page = <Page>args.object;
|
const page = <Page>args.object;
|
||||||
wrapLayout = page.getViewById<Layout>("wrapLayout");
|
wrapLayout = page.getViewById<WrapLayout>("wrapLayout");
|
||||||
}
|
}
|
||||||
|
|
||||||
export function onAddItem(args: EventData) {
|
export function onAddItem(args: EventData) {
|
||||||
|
Reference in New Issue
Block a user