slideout icon indicating copy to clipboard operation
slideout copied to clipboard

data-slideout-ignore with dynamically added components

Open duindain opened this issue 6 years ago • 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

duindain avatar Jul 16 '17 07:07 duindain