EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

WinJS.UI.Fragments Namespace

Applies to Windows and Windows Phone

Provides functions to load HTML content programmatically.

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 info about the specified fragment. This method doesn't unload any scripts or styles that are referenced by the fragment.

render function

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

renderCopy function

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]

Minimum supported phone

Windows Phone 8.1

Library

Base.js

See also

Samples
Loading HTML fragments sample (Windows)

 

 

Anzeigen:
© 2014 Microsoft