Skip to content
This repository was archived by the owner on May 22, 2020. It is now read-only.

NoConflict and binding to Bootstrap data-api#178

Open
groblerf wants to merge 1 commit intoashleydw:masterfrom
groblerf:master
Open

NoConflict and binding to Bootstrap data-api#178
groblerf wants to merge 1 commit intoashleydw:masterfrom
groblerf:master

Conversation

@groblerf
Copy link
Copy Markdown

Thought I would save you the trouble and give you the update that I've been using.

  • Created a data-api binding for ekkoLightbox so that the add-in will be applied automatically to any element with a data-toggle="lightbox"
    This assists with dynamically created elements that are loaded via ajax to be bound to the data-api when bootstrap parses the new elements.
  • Also added a NoConflict function in case more than ons lightbox plug-in is loaded.

Created a data-api binding for ekkoLightbox so that the add-in will be applied automatically to any element with a data-toggle="lightbox"
This assists with dynamically created elements that are loaded via ajax to be bound to the data-api when bootstrap parses the new elements.
@CydGoblin
Copy link
Copy Markdown
Contributor

This could be a great feature!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants