Mango/slideout

data-slideout-ignore with dynamically added components

duindain opened this issue · 0 comments

Hi, I'm using Slideout in a Cordova app

I add html and JavaScript via moustache templates so almost nothing is on the page when Slideout is initialised
When I later add divs with data-slideout-ignore I suspect since Slideout is already initialised it doesn't rescrape the dom to detect this and so the value is ignored
Is there a way to add elements to be ignored after Slideout is already initialised please?

I checked the beforeopen slideout event but it doesn't seem to allow returning a value to prevent sliding out dynamically