stormid / components

UI components
https://stormid.github.io/components/
MIT License
2 stars 2 forks source link

Initialising form after banner is shown manually #221

Closed sarah-storm closed 2 years ago

sarah-storm commented 2 years ago

I was implementing a cookie banner this morning which used the pattern suggestion from the library that has the form within the banner.

I was also hoping to use the new showBanner method to bring the banner back up from an iframe placeholder, but found that the showBanner method wasn't displaying the form in the same way that the main init function was.

Is this OK to add as per the PR?

Cheers, S