WinJS.Fragments.cache function
Starts loading the fragment at the specified location. The returned promise completes when the fragment is ready to be copied.
WinJS.Fragments.cache(href).done( /* Your success and error handlers */ );
href
Type: StringThe URI that contains the fragment to be copied.
Type: Promise**
A promise that is fulfilled when the fragment has been prepared for copying.
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.Fragments |
Samples