|
2 | 2 | <div class="well"> |
3 | 3 | <div> |
4 | 4 | <h4>Dynamic</h4> |
5 | | - <div>Dynamic Popover : <input type="text" ng-model="dynamicPopoverText"></div> |
6 | | - <div>Dynamic Popover Popup Text: <input type="text" ng-model="dynamicPopover"></div> |
7 | | - <div>Dynamic Popover Popup Title: <input type="text" ng-model="dynamicPopoverTitle"></div> |
8 | | - <div><button popover="{{dynamicPopover}}" popover-title="{{dynamicPopoverTitle}}" class="btn">{{dynamicPopoverText}}</button></div> |
| 5 | + <form role="form"> |
| 6 | + <div class="form-group"> |
| 7 | + <label>Dynamic Popover </label> |
| 8 | + <input type="text" ng-model="dynamicPopoverText" class="form-control"> |
| 9 | + </div> |
| 10 | + <div class="form-group"> |
| 11 | + <label>Dynamic Popover Popup Text</label> |
| 12 | + <input type="text" ng-model="dynamicPopover" class="form-control"> |
| 13 | + </div> |
| 14 | + <div class="form-group"> |
| 15 | + <label>Dynamic Popover Popup Title:</label> |
| 16 | + <input type="text" ng-model="dynamicPopoverTitle" class="form-control"> |
| 17 | + </div> |
| 18 | + <button popover="{{dynamicPopover}}" popover-title="{{dynamicPopoverTitle}}" class="btn btn-info">{{dynamicPopoverText}}</button> |
| 19 | + </form> |
9 | 20 | </div> |
10 | 21 | <div> |
11 | 22 | <h4>Positional</h4> |
12 | | - <button popover-placement="top" popover="On the Top!" class="btn">Top</button> |
13 | | - <button popover-placement="left" popover="On the Left!" class="btn">Left</button> |
14 | | - <button popover-placement="right" popover="On the Right!" class="btn">Right</button> |
15 | | - <button popover-placement="bottom" popover="On the Bottom!" class="btn">Bottom</button> |
| 23 | + <button popover-placement="top" popover="On the Top!" class="btn btn-info">Top</button> |
| 24 | + <button popover-placement="left" popover="On the Left!" class="btn btn-info">Left</button> |
| 25 | + <button popover-placement="right" popover="On the Right!" class="btn btn-info">Right</button> |
| 26 | + <button popover-placement="bottom" popover="On the Bottom!" class="btn btn-info">Bottom</button> |
16 | 27 | </div> |
17 | 28 | <div> |
18 | 29 | <h4>Triggers</h4> |
19 | | - <button popover="I appeared on mouse enter!" popover-trigger="mouseenter" class="btn">Mouseenter</button> |
| 30 | + <button popover="I appeared on mouse enter!" popover-trigger="mouseenter" class="btn btn-info">Mouseenter</button> |
| 31 | + <hr> |
20 | 32 | <input type="text" value="Click me!" |
21 | 33 | popover="I appeared on focus! Click away and I'll vanish..." |
22 | | - popover-trigger="focus" /> |
| 34 | + popover-trigger="focus" class="form-control"> |
23 | 35 | </div> |
24 | 36 | <div> |
25 | 37 | <h4>Other</h4> |
26 | | - <button Popover-animation="true" popover="I fade in and out!" class="btn">fading</button> |
27 | | - <button popover="I have a title!" popover-title="The title." class="btn">title</button> |
| 38 | + <button Popover-animation="true" popover="I fade in and out!" class="btn btn-info">fading</button> |
| 39 | + <button popover="I have a title!" popover-title="The title." class="btn btn-info">title</button> |
28 | 40 | </div> |
29 | 41 | </div> |
30 | 42 | </div> |
0 commit comments