If HTML markup is provided via the modalHTML option, the resulting element will be inserted before the menu, and clicks on the element will close the menu.
demo/index.html includes an example of how this can be used.
@dracos Readme updated 👍 and the <div…> strings that we pass in as options don’t need closing tags or slashes, no – jQuery is clever enough to only need the opening tag.
If HTML markup is provided via the
modalHTML
option, the resulting element will be inserted before the menu, and clicks on the element will close the menu.demo/index.html
includes an example of how this can be used.