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

Method hide

shepherd.js/src/step.ts:468–480  ·  view source on GitHub ↗

* Hide the step

()

Source from the content-addressed store, hash-verified

466 * Hide the step
467 */
468 hide() {
469 this.tour.modal?.hide();
470
471 this.trigger('before-hide');
472
473 if (this.el) {
474 this.el.hidden = true;
475 }
476
477 this._updateStepTargetOnHide();
478
479 this.trigger('hide');
480 }
481
482 /**
483 * Resolves attachTo options.

Callers

nothing calls this directly

Calls 2

triggerMethod · 0.80

Tested by

no test coverage detected