To initialize all Tooltips in a page, Bootstrap uses the selector '$('[data-toggle="___"]').tooltip();'.
- 'hover'
- 'tooltip'
- 'click'
- 'manual'
The correct option is 'click'. In Bootstrap, the 'click' option is used as the trigger event for initializing tooltips. This means the tooltips will be displayed when the user clicks on the designated element. This is a common method to control tooltip visibility.
Loading...
Related Quiz
- How do you make a navigation bar sticky at the top using Bootstrap?
- For Bootstrap carousel, $('.carousel').carousel('___') method in jQuery is used to cycle through elements.
- Explain how the 'text-truncate' utility in Bootstrap is used in web design.
- How do you initialize a Bootstrap tooltip using jQuery?
- How does Bootstrap's grid system contribute to responsive web design?