bootstrap.Tab.getInstance(triggerEl) who should triggerEL #31316
Answered
by
Johann-S
ZhangChengLin
asked this question in
General
-
Navs Tab getInstance()
triggerEl should be the target element div, not the trigger element? Because the target element will be more accurate. The target element refers to the following'div.tab-pane' and should not be obtained from the triggered "#myTab a" element.
|
Beta Was this translation helpful? Give feedback.
Answered by
Johann-S
Jul 17, 2020
Replies: 1 comment 2 replies
-
Hi @ZhangChengLin, It's the same for our other plugins (Tooltip, Popover, Dropdown), the needed element is always the trigger element |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Johann-S
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ZhangChengLin,
It's the same for our other plugins (Tooltip, Popover, Dropdown), the needed element is always the trigger element