Skip to content

Instantly share code, notes, and snippets.

@ToshihiroGoto
Created December 17, 2015 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ToshihiroGoto/5333f5998381ac0d1ec7 to your computer and use it in GitHub Desktop.
Save ToshihiroGoto/5333f5998381ac0d1ec7 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>UITest</title>
<!-- WinJS references -->
<link href="WinJS/css/ui-dark.css" rel="stylesheet" />
<script src="WinJS/js/base.js"></script>
<script src="WinJS/js/ui.js"></script>
<!-- UITest references -->
<link href="/css/default.css" rel="stylesheet" />
<script src="/js/default.js"></script>
</head>
<body class="win-type-body">
<p>Content goes here</p>
<button class="win-button" onclick="toggleTest">ふつうのぼたん</button>
<button class="win-button win-button-primary">テーマカラーが適応されるぼたん</button>
<div id="toggle" data-win-control="WinJS.UI.ToggleSwitch" data-win-options="{title: 'とぐる', checked: true}"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment