WinJS.UI.Fragments.renderCopy


Snippet Details

Shortcut
wfr
Description
Render a new WinJS Fragment
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
1-11-2015 16:34:11
Downloads
1914

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