FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular-toggle-switch/example/bootstrap-3.html at master · JumpLink/angular-toggle-switch · GitHub
JumpLink
/
angular-toggle-switch
Public
forked from
cgarvis/angular-toggle-switch
Notifications
You must be signed in to change notification settings
Fork
37
Star
68
Code
Issues
13
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
angular-toggle-switch
/
example
/
bootstrap-3.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
55 lines (46 loc) · 2.81 KB
Breadcrumbs
angular-toggle-switch
/
example
/
bootstrap-3.html
Copy path
File metadata and controls
55 lines (46 loc) · 2.81 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html
>
<
html
ng-app
="
app
"
>
<
head
>
<
title
>
Bootstrap 3 Style Example
</
title
>
<
link
href
="
../style/bootstrap3/angular-toggle-switch-bootstrap-3.css
"
media
="
all
"
rel
="
stylesheet
"
type
="
text/css
"
>
<
link
href
="
https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css
"
media
="
all
"
rel
="
stylesheet
"
type
="
text/css
"
>
<
script
type
="
text/javascript
"
src
="
https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.js
"
>
</
script
>
<
script
type
="
text/javascript
"
src
="
../angular-toggle-switch.js
"
>
</
script
>
<
script
type
="
text/javascript
"
>
angular
.
module
(
'app'
,
[
'ngSanitize'
,
'toggle-switch'
]
)
;
</
script
>
</
head
>
<
body
ng-init
="
switchStatus = true
"
>
<
h2
>
Bootstrap 3 Style Example
</
h2
>
<
div
ng-if
="
true
"
>
<
div
toggle-switch
class
="
switch-primary
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-info
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-success
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-warning
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-danger
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-default
"
ng-model
="
switchStatus
"
>
</
div
>
</
div
>
<
p
>
<
div
toggle-switch
class
="
switch-large switch-primary
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-primary
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-small switch-primary
"
ng-model
="
switchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-mini switch-primary
"
ng-model
="
switchStatus
"
>
</
div
>
</
p
>
<
p
>
<
div
toggle-switch
class
="
switch-large switch-primary
"
ng-model
="
switchStatus
"
knob-label
=""
on-label
=""
off-label
=""
>
</
div
>
<
div
toggle-switch
class
="
switch-primary
"
ng-model
="
switchStatus
"
knob-label
=""
on-label
=""
off-label
=""
>
</
div
>
<
div
toggle-switch
class
="
switch-small switch-primary
"
ng-model
="
switchStatus
"
knob-label
=""
on-label
=""
off-label
=""
>
</
div
>
<
div
toggle-switch
class
="
switch-mini switch-primary
"
ng-model
="
switchStatus
"
knob-label
=""
on-label
=""
off-label
=""
>
</
div
>
</
p
>
<
p
>
<
div
toggle-switch
class
="
switch-primary
"
data-is-disabled
="
disabled
"
ng-model
="
switchStatus
"
>
</
div
>
</
p
>
<
p
ng-init
="
htmlSwitchStatus = true
"
>
<
div
toggle-switch
class
="
switch-primary switch-large
"
html
="
true
"
knob-label
="
HTML
"
on-label
='
<i class="fa fa-thumbs-up"></i>
'
off-label
='
<i class="fa fa-thumbs-down"></i>
'
ng-model
="
htmlSwitchStatus
"
>
</
div
>
<
div
toggle-switch
class
="
switch-primary switch-large
"
html
="
htmlSwitchStatus
"
knob-label
='
<i class="fa fa-question"></i>
'
on-label
='
<i class="fa fa-thumbs-up"></i>
'
off-label
='
<i class="fa fa-thumbs-down"></i>
'
ng-model
="
switchStatus
"
>
</
div
>
</
p
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL