Examples
StepGuide는 다양한 옵션을 통해 사용자에게 단계별 가이드를 제공하는 방법을 보여줍니다. 다음은 StepGuide를 사용한 몇 가지 예제입니다.
기본 예제
const guide = stepGuide({
el: document.body,
options: {
steps: [
{
title: 'Hello',
description: 'hello',
element: '#left',
position: 'bottom',
},
],
},
});
기본 예제
`options.steps` 배열의 요소의 `title`, `description`, `element`, `position` 속성을 추가하여 툴팁을 표시할 수 있습니다.
첫 번째 단계
두 번째 단계