chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-09 23:43:28 -07:00
parent 0ae8dba962
commit 8100cf7089
89 changed files with 493 additions and 704 deletions

View File

@@ -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;

View File

@@ -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.
*/