emergence.js
emergence.js copied to clipboard
Multiple Instances of `emergence`?
Is it possible to have multiple instances of the emergence object with different options active?
Consider the following:
import * as emergeOnce from 'emergence.js'
import emergence from 'emergence.js'
emergeOnce.init({ reset: false })
emergence.init()
This is possible, but is there an option for the queryselector data-emergence to be set? If no, how about setting inline options, such as data-emergence-reset="false" for unique conditions?