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

Applying the shim to a dynamically generated form #12

Open
weberhofer opened this issue Apr 10, 2014 · 2 comments
Open

Applying the shim to a dynamically generated form #12

weberhofer opened this issue Apr 10, 2014 · 2 comments

Comments

@weberhofer
Copy link
Contributor

Dear Dmitry is there a method foreseen to add the shim to all children of a dynamically created DOM element?

@dsheiko
Copy link
Owner

dsheiko commented Apr 11, 2014

I'm working on 2.3.0 branch, it's fully refactored. This feature will be implemented

@dsheiko
Copy link
Owner

dsheiko commented Apr 11, 2014

Hmm, it is supposed to be available in the current branch as well... You just need to call hfFormShim.init() after the form is generated (without passing boundingBox it will init all the forms with data-enable-shim='true')

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

2 participants