Skip to content

StepOptionsAttachTo

Defined in: step.ts:389

What a step attaches to.

attachTo: { element: '#save', on: 'bottom' }

optional element?: string | HTMLElement | (() => string | HTMLElement | null | undefined) | null

Defined in: step.ts:396

A selector, an element, or a function returning either. A selector or function is resolved each time the step shows. A selector that matches nothing logs an error and centers the step; see waitForElement and skipMissingElement.


optional on?: PopperPlacement

Defined in: step.ts:405

Where the step sits relative to the element. Without it the element is highlighted, and the step is centered with no arrow.