Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't understand data-toggle part
Message
From
29/09/2017 03:39:59
 
General information
Forum:
Bootstrap
Category:
Buttons
Miscellaneous
Thread ID:
01654643
Message ID:
01654664
Views:
49
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Can you please explain what data-toggle means in this markup
>
>
><button class="btn" ng-click="loadAceEditorFile(currentLayout)" ng-hide="currentLayout.layoutTypes.isFrx" 
>                                data-toggle="tooltip"
>                                title="@Messages.loadlocalfile">
>                            <i class="fa fa-file fa-2x"></i>
>                        </button>
>                        <button class="btn" ng-click="saveAceEditorFile(currentLayout, editorLayout)" ng-hide="currentLayout.layoutTypes.isFrx" 
>                                data-toggle="tooltip"
>                                title="@Messages.saveToLocalFile">
>                            <i class="fa fa-save fa-2x"></i>
>                        </button>
>
>There is no tooltip mentioned anywhere else in the page. What does this line for the button mean?
>
>Thanks in advance.

Standard attributes for adding a tooltop which shows when hovering over the button. 'title' is the tooltip text. But it would need to be wired up in code.

Example here : https://www.tutorialrepublic.com/codelab.php?topic=bootstrap&file=tooltips-placement-via-javascript
Previous
Reply
Map
View

Click here to load this message in the networking platform