mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor(e2e): rename modal-layout to modal-layout-root (#5867)
* chore(e2e): register `layout` files in bundle-config * refactor(e2e): rename modal-layout to modal-layout-root Similar to `modal-tab-root`: https://github.com/NativeScript/NativeScript/tree/4.0.0/e2e/modal-navigation/app/modal-tab This avoid the need to explicitly register it to webpack modules. * refactor(e2e): rename mocha describes to contain a dash * refactor: remove bundle-config It is no more as `nativescript-dev-webpack@0.12.0` registers default application modules.
This commit is contained in:
23
e2e/modal-navigation/app/modal-layout/modal-layout-root.ts
Normal file
23
e2e/modal-navigation/app/modal-layout/modal-layout-root.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
export function onShowingModally() {
|
||||
console.log("modal-layout showingModally");
|
||||
}
|
||||
|
||||
export function onLoaded() {
|
||||
console.log("modal-layout loaded");
|
||||
}
|
||||
|
||||
export function onNavigatingTo() {
|
||||
console.log("modal-layout onNavigatingTo");
|
||||
}
|
||||
|
||||
export function onNavigatingFrom() {
|
||||
console.log("modal-layout onNavigatingFrom");
|
||||
}
|
||||
|
||||
export function onNavigatedTo() {
|
||||
console.log("modal-layout onNavigatedTo");
|
||||
}
|
||||
|
||||
export function onNavigatedFrom() {
|
||||
console.log("modal-layout onNavigatedFrom");
|
||||
}
|
||||
Reference in New Issue
Block a user