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

Method hide

shepherd.js/src/tour.ts:260–266  ·  view source on GitHub ↗

* Hide the current step

()

Source from the content-addressed store, hash-verified

258 * Hide the current step
259 */
260 hide() {
261 const currentStep = this.getCurrentStep();
262
263 if (currentStep) {
264 return currentStep.hide();
265 }
266 }
267
268 /**
269 * Check if the tour is active

Callers 7

step.spec.jsFile · 0.45
tour.spec.jsFile · 0.45
modal.cy.jsFile · 0.45
removeStepMethod · 0.45
_doneMethod · 0.45

Calls 1

getCurrentStepMethod · 0.95

Tested by

no test coverage detected