Examples
단계 건너뛰기
const guide = stepGuide({
el: document.body,
options: {
buttonLabel: {
prev: '이전',
next: '다음',
done: '종료',
},
steps: [
{
title: 'Step 1',
description: 'Step 1 description',
element: '#step1-goto',
position: 'bottom',
},
{
title: 'Step 2',
description: 'Step 2 description',
element: '#step2-goto',
position: 'bottom',
},
{
title: 'Step 3',
description: 'Step 3 description',
element: '#step3-goto',
position: 'bottom',
},
],
},
});
스텝 이동
`stepGuide.goToStep(stepIndex)` 메서드를 호출하여 스텝을 이동할 수 있습니다.
첫 번째 단계
두 번째 단계
세 번째 단계