Aplicativos do Windows
Recolher sumário
Expandir sumário
EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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 WinJS version

WinJS 1.0

Namespace

WinJS.Fragments

See also

Samples
Loading HTML fragments sample (Windows)

 

 

Mostrar:
© 2016 Microsoft