mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// Types.
|
||||
import { Frame as FrameDefinition } from '.';
|
||||
import { BackstackEntry, NavigationContext, NavigationEntry, NavigationTransition, NavigationType } from './frame-interfaces';
|
||||
import { Page } from '../page';
|
||||
import { View, CustomLayoutView, CSSType } from '../core/view';
|
||||
@@ -35,7 +34,7 @@ function buildEntryFromArgs(arg: any): NavigationEntry {
|
||||
}
|
||||
|
||||
@CSSType('Frame')
|
||||
export class FrameBase extends CustomLayoutView implements FrameDefinition {
|
||||
export class FrameBase extends CustomLayoutView {
|
||||
public static androidOptionSelectedEvent = 'optionSelected';
|
||||
|
||||
private _animated: boolean;
|
||||
|
||||
4
nativescript-core/ui/frame/index.d.ts
vendored
4
nativescript-core/ui/frame/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
import { NavigationType } from './frame-common';
|
||||
import { NavigationType, FrameBase } from './frame-common';
|
||||
import { Page } from '../page';
|
||||
import { Observable, EventData } from '../../data/observable';
|
||||
import { View } from '../core/view';
|
||||
@@ -10,7 +10,7 @@ export * from './frame-interfaces';
|
||||
* Represents the logical View unit that is responsible for navigation within an application.
|
||||
* Nested frames are supported, enabling hierarchical navigation scenarios.
|
||||
*/
|
||||
export class Frame extends View {
|
||||
export class Frame extends FrameBase {
|
||||
/**
|
||||
* Gets a frame by id.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user