File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html >
3
+ < head >
4
+ < link rel ="stylesheet " type ="text/css " href ="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css " />
5
+ </ head >
6
+ < body >
7
+ < div ng-app ="app ">
8
+ < div class ="container ">
9
+ < div class ="row ">
10
+ < h2 > Example input hints</ h2 >
11
+ < div class ="form-group ">
12
+ < input type ="text " class ="form-control " input-hints ="['Enter your username here...', 'Usernames can be 7-20 characters long.'] " />
13
+ </ div >
14
+ < div class ="form-group ">
15
+ < input type ="text " class ="form-control " input-hints ="myInputHints " />
16
+ </ div >
17
+ </ div >
18
+ </ div >
19
+ </ div >
20
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.20/angular.min.js "> </ script >
21
+ < script src ="../dist/angular-input-hints.js "> </ script >
22
+ < script >
23
+ angular . module ( 'app' , [ 'wb.inputHints' ] ) . run ( function ( $rootScope ) {
24
+ $rootScope . myInputHints = [ 'It\'s simple.' , 'It\'s clear.' , 'It\'s customizable.' ] ;
25
+ } ) ;
26
+ </ script >
27
+ </ body >
28
+ </ html >
You can’t perform that action at this time.
0 commit comments