WinJS.UI.Fragments Namespace

0 out of 3 rated this helpful - Rate this topic

Provides functions to load HTML content programmatically.

For more information about using fragments, see the Fragments sample and the Navigation with Fragments sample at Windows Store app samples.

The WinJS.UI.Fragments namespace has these types of members:

Functions

FunctionDescription

cache function

Starts loading the fragment at the specified location. The returned promise completes when the fragment is ready to be copied.

clearCache function

Removes any cached information about the specified fragment. This method does not unload any scripts or styles that are referenced by the fragment.

render function

Loads the contents of the specified URI into the specified element without copying it.

renderCopy function

Loads and copies the contents of the specified URI into the specified element.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.