Open michaelkoelewijn opened 7 years ago
Just found out that adding the keyword "is" to the element will render the attribute just fine. In my opinion its still better to at least prefix the "canvas" and "off-canvas" attributes with "data-"
Example code of working React code, in case someone else needs it:
<div is off-canvas="id-1 left reveal">
and
<main is canvas="container">
ReactJS strips off the canvas and off-canvas attributes by default so the plugin does not work. The plugin doesn't seem to support the targetting of ID's/classnames (or i am just misreading stuff)
Course of action?