MCPcopy
hub / github.com/shipshapecode/shepherd / setupModal

Method setupModal

shepherd.js/src/tour.ts:411–414  ·  view source on GitHub ↗

* setupModal create the modal container and instance

()

Source from the content-addressed store, hash-verified

409 * setupModal create the modal container and instance
410 */
411 setupModal() {
412 const container = this.options.modalContainer || document.body;
413 this.modal = createShepherdModal(container);
414 }
415
416 /**
417 * Called when `showOn` evaluates to false, to skip the step or complete/cancel the tour if there are no more steps

Callers 2

startMethod · 0.95
_showMethod · 0.80

Calls 1

createShepherdModalFunction · 0.90

Tested by

no test coverage detected