Which of the following is correct about data – html Data attribute of Tooltip Plugin?
Which of the following is correct about data – html Data attribute of Tooltip Plugin?
a. It can be used to apply a CSS fade transition to the tooltip.
b. It can add the HTML into the tooltip. If false, jQuery’s text method will be used to insert content into the dom.
c. It can specify the position the tooltip (i.e., top | bottom | left | right | auto).
d. It can delegate to the specified targets.
1 Answers
b. It can add the HTML into the tooltip. If false, jQuery’s text method will be used to insert content into the dom.
Explanation: In data – html, the HTML can be added to the tooltip. However, it is false, jQuery’s text method will be used to insert the content into the dom. Therefore, the correct option is (b).