This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.state('person', { | |
url: "/{person}", | |
resolve: { | |
type: function (communityApi, $stateParams) { | |
console.log('output') | |
console.log(communityApi.getKey($stateParams.person)) | |
return; | |
} | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>iOS 6 style switches with pure CSS</h1> | |
<label>Something <input type="checkbox" class="ios-switch" /></label> | |
<label>Pre-checked<input type="checkbox" class="ios-switch" checked /></label> | |
<label><input type="checkbox" class="ios-switch" />Label after control</label> | |
<label><input type="checkbox" class="ios-switch" checked />Another label after control</label> | |
<p>Check out the slide animation, even in WebKit versions that don’t support animation for pseudo-elements. | |
Verified to work in <strong>Chrome, Firefox, IE10</strong>, but could possibly work in many others.</p> |
NewerOlder