Skip to content

My WinJS Control Template

I’ve created my own custom VS Item Template for creating new WinJS custom controls.

Click here to download the template (Last updated: 3/14/2014 – Fix dispose method)


Save the file to the JavaScript subdirectory of your VS ItemTemplates directory, which by default is here:

%UserProfile%\Documents\Visual Studio 2013\Templates\ItemTemplates\JavaScript

You may have to restart any running instances of Visual Studio.


Right-click on the folder you want to add the control to in Solution Explorer.

Select Add -> New Item…

Choose the “Bside JS Control” template.

Enter a name for the control and click Add.

See this blog post for more details.