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

NoConflict and binding to Bootstrap data-api #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

groblerf
Copy link

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
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