본문으로 건너뛰기

Examples

HTML 콘텐츠 사용

const guide = stepGuide({
el: document.body,
options: {
buttonLabel: {
prev: '이전',
next: '다음',
done: '종료',
},
steps: [
{
title: 'Step 1',
description: '<p style="color: red; font-size: 20px;">Step 1 description</p>',
element: '#step1-html',
position: 'bottom',
},
],
},
});

HTML 사용

`options.steps` 배열의 요소의 `description`, `title` 속성에 HTML을 사용할 수 있습니다.

첫 번째 단계