>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