You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
- Reverts template change to tab
- Adds warning if one desires more complex HTML inside the tab
BREAKING CHANGE: This undoes the prior change to the template using div
elements. If one wishes to use div elements, one must override the
template in one's app and provide the necessary CSS
Closes#5262Fixes#5254
Copy file name to clipboardExpand all lines: src/tabs/docs/readme.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ AngularJS version of the tabs directive.
23
23
<iclass="glyphicon glyphicon-eye-open"></i>
24
24
_(Default: `false`)_ -
25
25
Whether tab is currently selected.
26
-
26
+
27
27
*`deselect()`
28
28
<smallclass="badge">$</small>
29
29
_(Default: `null`)_ -
@@ -46,3 +46,7 @@ AngularJS version of the tabs directive.
46
46
### Tabset heading
47
47
48
48
Instead of the `heading` attribute on the `uib-tabset`, you can use an `uib-tab-heading` element inside a tabset that will be used as the tabset's header. There you can use HTML as well.
49
+
50
+
### Known issues
51
+
52
+
To use clickable elements within the tab, you have override the tab template to use div elements instead of anchor elements, and replicate the desired styles from Bootstrap's CSS. This is due to browsers interpreting anchor elements as the target of any click event, which triggers routing when certain elements such as buttons are nested inside the anchor element.
0 commit comments