HTML5-Form-Shim icon indicating copy to clipboard operation
HTML5-Form-Shim copied to clipboard

Applying the shim to a dynamically generated form

Open weberhofer opened this issue 11 years ago • 2 comments

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

weberhofer avatar Apr 10 '14 16:04 weberhofer

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

dsheiko avatar Apr 11 '14 08:04 dsheiko

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

dsheiko avatar Apr 11 '14 08:04 dsheiko