mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Fix getOrCreateInstance() doc example (#39281)
This commit is contained in:
@@ -249,7 +249,7 @@ const popover = new bootstrap.Popover(element, {
|
|||||||
const popover = bootstrap.Popover.getOrCreateInstance('#example') // Returns a Bootstrap popover instance
|
const popover = bootstrap.Popover.getOrCreateInstance('#example') // Returns a Bootstrap popover instance
|
||||||
|
|
||||||
// setContent example
|
// setContent example
|
||||||
myPopover.setContent({
|
popover.setContent({
|
||||||
'.popover-header': 'another title',
|
'.popover-header': 'another title',
|
||||||
'.popover-body': 'another content'
|
'.popover-body': 'another content'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user