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
| Function | Description |
|---|---|
|
Starts loading the fragment at the specified location. The returned promise completes when the fragment is ready to be copied. | |
|
Removes any cached information about the specified fragment. This method does not unload any scripts or styles that are referenced by the fragment. | |
|
Loads the contents of the specified URI into the specified element without copying it. | |
|
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