mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
remove underscore for static methods
This commit is contained in:
@@ -345,13 +345,13 @@ Updates the position of an element's popover.
|
||||
|
||||
{{< highlight js >}}myPopover.update(){{< /highlight >}}
|
||||
|
||||
#### _getInstance
|
||||
#### getInstance
|
||||
|
||||
*Static* method which allows you to get the popover instance associated with a DOM element
|
||||
|
||||
{{< highlight js >}}
|
||||
var exampleTriggerEl = document.getElementById('example')
|
||||
var popover = bootstrap.Popover._getInstance(exampleTriggerEl) // Returns a Bootstrap popover instance
|
||||
var popover = bootstrap.Popover.getInstance(exampleTriggerEl) // Returns a Bootstrap popover instance
|
||||
{{< /highlight >}}
|
||||
|
||||
### Events
|
||||
|
||||
Reference in New Issue
Block a user