Preview 2.0 is now in Public Beta!
Read the Announcement
FrameBase
Frame

Summary

Constructors

constructor

Properties

_animationInProgress
_currentEntry
_executingContext
actionBarVisibility
android
animated
backStack
currentEntry
currentPage
defaultAnimatedNavigation
defaultTransition
ios
navigationBarHeight
transition
164 properties inherited from FrameBase
Click to expand

Methods

_findEntryForTag
_getIsAnimatedNavigation
_getNavBarVisible
_getNavigationTransition
_processNavigationQueue
_pushInFrameStack
_pushInFrameStackRecursive
_removeFromFrameStack
_stack
_updateActionBar
_updateBackstack
canGoBack
getFrameById
goBack
goBack
isCurrent
navigate
navigationQueueIsEmpty
on
performNavigation
reloadPage
setCurrent
topmost
139 methods inherited from FrameBase
Click to expand

Constructors

constructor

new Frame(): Frame

Properties

_animationInProgress

Private
_animationInProgress: boolean

_currentEntry

Private

_executingContext

Private

actionBarVisibility

actionBarVisibility: "auto" | "always" | "never"

android

android: AndroidFrame

animated

currentPage

Private
navigationBarHeight: number

defaultAnimatedNavigation

Static
defaultAnimatedNavigation: boolean

defaultTransition

Static

Methods

_findEntryForTag

Private
_findEntryForTag(fragmentTag: string): BackstackEntry
Parameter Default Description
fragmentTag
string

_getIsAnimatedNavigation

Private
_getIsAnimatedNavigation(entry: NavigationEntry): boolean
Parameter Default Description
entry

Returns boolean

_getNavBarVisible

Private
_getNavBarVisible(page: Page): boolean
Parameter Default Description
page

Returns boolean

_getNavigationTransition

Private
_getNavigationTransition(entry: NavigationEntry): NavigationTransition
Parameter Default Description
entry

_processNavigationQueue

Private
_processNavigationQueue(page: Page): any
Parameter Default Description
page

Returns any

_pushInFrameStack

Private
_pushInFrameStack(): any

_pushInFrameStackRecursive

Private
_pushInFrameStackRecursive(): any

_removeFromFrameStack

Private
_removeFromFrameStack(): any

_updateActionBar

Private
_updateActionBar(page?: Page, disableNavBarAnimation?: boolean): any
Parameter Default Description
page

disableNavBarAnimation
boolean

Returns any

_updateBackstack

Private
_updateBackstack(entry: BackstackEntry, navigationType: NavigationType): void
Parameter Default Description
entry

navigationType
NavigationType

Returns void

canGoBack

canGoBack(): boolean

goBack

goBack(to?: BackstackEntry): any
Parameter Default Description
to

Returns any

isCurrent

Private
isCurrent(entry: BackstackEntry): boolean
Parameter Default Description
entry

Returns boolean
navigate(pageModuleName: string): any
Parameter Default Description
pageModuleName
string

Returns any
navigate(create: () => Page): any
Parameter Default Description
create
() => Page

Returns any
navigate(entry: NavigationEntry): any
Parameter Default Description
entry

Returns any
Private
navigationQueueIsEmpty(): boolean

on

on(eventNames: string, callback: (args: EventData) => void, thisArg?: any): any
Parameter Default Description
eventNames
string

callback
(args: EventData) => void

thisArg
any

Returns any
on(
  event: "navigatingTo",
  callback: (args: NavigationData) => void,
  thisArg?: any
): any
Parameter Default Description
event
"navigatingTo"

callback
(args: NavigationData) => void

thisArg
any

Returns any
on(
  event: "navigatedTo",
  callback: (args: NavigationData) => void,
  thisArg?: any
): any
Parameter Default Description
event
"navigatedTo"

callback
(args: NavigationData) => void

thisArg
any

Returns any

performNavigation

Private
performNavigation(navigationContext: NavigationContext): void
Parameter Default Description
navigationContext

Returns void

setCurrent

Private
setCurrent(entry: BackstackEntry, navigationType: NavigationType): void
Parameter Default Description
entry

navigationType
NavigationType

Returns void

_stack

PrivateStatic

getFrameById

Static
getFrameById(id: string): Frame
Parameter Default Description
id
string

Returns Frame

goBack

Static
goBack(): any

reloadPage

PrivateStatic
reloadPage(context?: ModuleContext): void
Parameter Default Description
context
ModuleContext

Returns void

topmost

Static