WinJS.UI.Fragments.renderCopy


Snippet Details

Shortcut
wfr
Description
Render a new WinJS Fragment
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
11/1/2015 4:34:11 PM
Downloads
384

Declarations

ID ToolTip Default
pageFragment Page fragment /fragments/fragment.html
selector DOM Selectorto inject the page fragment document.querySeletor(".fragment")
done Additional process // Process

Code Output

        WinJS.UI.Fragments.renderCopy("$pageFragment$", $selector$)
                        .done(function (fragment) {
                            // Additional process
                            $done$
                            completeDispatch(); // call the complete method
                        });$end$
        
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages