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

Add ability to use JSON as options for BaseDOMConstructor #4

Open
Systerr opened this issue Aug 18, 2015 · 1 comment
Open

Add ability to use JSON as options for BaseDOMConstructor #4

Systerr opened this issue Aug 18, 2015 · 1 comment

Comments

@Systerr
Copy link
Contributor

Systerr commented Aug 18, 2015

For now we can only pass one option inside data attribute

<div data-js-spiral-elm  data-option1="1" data-option2="2"></div>

Proposed additional format:

<div data-js-spiral-elm  data-json="{'option1':1,'option2':2}"></div>
@alexichepura
Copy link
Contributor

related to #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants