Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Usage of HTML5 data-* attributes for options #276

Open
andrepereiradasilva opened this issue Dec 16, 2015 · 0 comments
Open

[Feature] Usage of HTML5 data-* attributes for options #276

andrepereiradasilva opened this issue Dec 16, 2015 · 0 comments

Comments

@andrepereiradasilva
Copy link

A feature i think would be very useful for server side implementations would be to allow the usage of HTML5 data-* attributes to set the options directly in the HTML (without external or inline js), for instance:

<div id="sequence" data-key-navigation="1" data-auto-play-interval="500">
<!-- additional code removed for brevity -->
</div>

Or

<div id="sequence" data-options='{"keyNavigation":1,"autoPlayInterval":500}'>
<!-- additional code removed for brevity -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant