changed to new functions
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
@@ -49,7 +49,7 @@ const BasicDemo = () => {
|
||||
off: "💫 OFF"
|
||||
});
|
||||
};
|
||||
Mount(BasicDemo, '#demo-basic');
|
||||
mount(BasicDemo, '#demo-basic');
|
||||
```
|
||||
|
||||
### Icon Swap
|
||||
@@ -71,7 +71,7 @@ const IconsDemo = () => {
|
||||
off: "👁️🗨️"
|
||||
});
|
||||
};
|
||||
Mount(IconsDemo, '#demo-icons');
|
||||
mount(IconsDemo, '#demo-icons');
|
||||
```
|
||||
|
||||
### Emoji Swap
|
||||
@@ -93,7 +93,7 @@ const EmojiDemo = () => {
|
||||
off: "🖤"
|
||||
});
|
||||
};
|
||||
Mount(EmojiDemo, '#demo-emoji');
|
||||
mount(EmojiDemo, '#demo-emoji');
|
||||
```
|
||||
|
||||
### Custom Content Swap
|
||||
@@ -115,7 +115,7 @@ const CustomDemo = () => {
|
||||
off: Div({ class: "badge badge-ghost gap-1" }, ["⭕", " Inactive"])
|
||||
});
|
||||
};
|
||||
Mount(CustomDemo, '#demo-custom');
|
||||
mount(CustomDemo, '#demo-custom');
|
||||
```
|
||||
|
||||
### With Reactive State
|
||||
@@ -144,7 +144,7 @@ const ReactiveDemo = () => {
|
||||
)
|
||||
]);
|
||||
};
|
||||
Mount(ReactiveDemo, '#demo-reactive');
|
||||
mount(ReactiveDemo, '#demo-reactive');
|
||||
```
|
||||
|
||||
### Toggle Mode Swap
|
||||
@@ -192,7 +192,7 @@ const ModeDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
Mount(ModeDemo, '#demo-mode');
|
||||
mount(ModeDemo, '#demo-mode');
|
||||
```
|
||||
|
||||
### All Variants
|
||||
@@ -241,7 +241,7 @@ const VariantsDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
Mount(VariantsDemo, '#demo-variants');
|
||||
mount(VariantsDemo, '#demo-variants');
|
||||
```
|
||||
|
||||
### Simple Todo Toggle
|
||||
@@ -279,5 +279,5 @@ const TodoDemo = () => {
|
||||
})
|
||||
]);
|
||||
};
|
||||
Mount(TodoDemo, '#demo-todo');
|
||||
mount(TodoDemo, '#demo-todo');
|
||||
```
|
||||
Reference in New Issue
Block a user