Class: ChildViewFlyout

WinJSContrib.UI. ChildViewFlyout

This control wrap a navigator into a flyout that appears typically as a side panel. It's intended to provide a secondary navigation mecanism or to enable scenarios like master detail, or content selection

new ChildViewFlyout(element, options)

Parameters:
Name Type Description
element HTMLElement

DOM element containing the control

options Object
Properties:
Name Type Description
pageControl HTMLElement
Source:

Methods

back()

navigate back

Source:

canGoBack()

indicate if control can navigate back

Source:

clear()

clear all child view pages

Source:

closePage()

close current page

Source:

hide()

close all content and hide child view

Source:

navigate to target uri

Parameters:
Name Type Description
uri string

target page uri

options Object

options for target page

skipHistory boolean

indicate if navigation should skip being added to history

Source:
Returns:
Type
WinJS.Promise

open(uri, options, skipHistory) → {WinJS.Promise}

display child view and navigate to target uri

Parameters:
Name Type Description
uri string

target page uri

options Object

options for target page

skipHistory boolean

indicate if navigation should skip being added to history

Source:
Returns:
Type
WinJS.Promise