Skip to content

Commit 998f7dd

Browse files
committed
update-5 reademe 수정
1 parent add0544 commit 998f7dd

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tutorial.js와 index.js를 연결합니다.
1717
// index.js
1818

1919
const tutorial = Tutorial.init({
20-
selector: [
20+
tutorial: [
2121
{
2222
name: "navbar-brand",
2323
msg: "브랜드명을 자유롭게 변경할 수 있습니다."
@@ -35,24 +35,31 @@ const tutorial = Tutorial.init({
3535
msg: "푸터 입니다."
3636
},
3737
],
38-
style: {
39-
type: "rect",
40-
layerLine: true,
38+
style: {
4139
padding: "1rem",
42-
bgColor: "rgba(0,0,0,0.2)",
40+
shadowColor: "rgba(0,0,0,0.7)",
4341
border: {
4442
rounded: "1rem",
45-
width: "3px",
43+
width: "10px",
4644
color: "#eb47a8",
47-
line: "solid",
4845
},
4946
msgBox: {
47+
rounded: ".5rem",
5048
bgColor: "rgba(0,0,0,0.5)",
49+
color: 'white',
5150
},
52-
tutorial: {
53-
restart: "latest" // "base" default
51+
btns: {
52+
rounded: ".5rem",
5453
}
55-
}
54+
},
55+
naming: {
56+
restart: '튜토리얼 보기',
57+
prev: '이전',
58+
next: '다음',
59+
exit: '종료',
60+
},
61+
autoPlay: true,
62+
effect: 'none',
5663
});
5764
```
5865

@@ -64,7 +71,7 @@ const tutorial = Tutorial.init({
6471
## cdn 사용
6572

6673
```html
67-
<!-- update-5 -->
74+
<!-- v0.1.0 pre-release -->
6875
<script src="https://cdn.jsdelivr.net/gh/kkn1125/tutorial@update-5/tutorial.js" integrity="sha384-sA5mI0st775JGtzxJUNd8aln7/fhc82dqZOXqntMWHCIJbHjb6pRsWZ7N8WpKLdP" crossorigin="anonymous"></script>
6976

7077
<!-- update-3 -->

0 commit comments

Comments
 (0)