Update new functions
This commit is contained in:
@@ -56,7 +56,7 @@ const BasicDemo = () => {
|
||||
onchange: (e) => selected(e.target.value)
|
||||
});
|
||||
};
|
||||
$mount(BasicDemo, '#demo-basic');
|
||||
Mount(BasicDemo, '#demo-basic');
|
||||
```
|
||||
|
||||
### With Reactive Display
|
||||
@@ -85,7 +85,7 @@ const ReactiveDemo = () => {
|
||||
Div({ class: 'alert alert-info' }, () => `You selected: ${selected()}`)
|
||||
]);
|
||||
};
|
||||
$mount(ReactiveDemo, '#demo-reactive');
|
||||
Mount(ReactiveDemo, '#demo-reactive');
|
||||
```
|
||||
|
||||
### Disabled State
|
||||
@@ -110,7 +110,7 @@ const DisabledDemo = () => {
|
||||
disabled: true
|
||||
});
|
||||
};
|
||||
$mount(DisabledDemo, '#demo-disabled');
|
||||
Mount(DisabledDemo, '#demo-disabled');
|
||||
```
|
||||
|
||||
### Dynamic Items
|
||||
@@ -160,7 +160,7 @@ const DynamicDemo = () => {
|
||||
() => selectedItem() ? Div({ class: 'alert alert-success' }, `Selected: ${selectedItem()}`) : null
|
||||
]);
|
||||
};
|
||||
$mount(DynamicDemo, '#demo-dynamic');
|
||||
Mount(DynamicDemo, '#demo-dynamic');
|
||||
```
|
||||
|
||||
### All Variants
|
||||
@@ -213,5 +213,5 @@ const VariantsDemo = () => {
|
||||
})
|
||||
]);
|
||||
};
|
||||
$mount(VariantsDemo, '#demo-variants');
|
||||
Mount(VariantsDemo, '#demo-variants');
|
||||
```
|
||||
Reference in New Issue
Block a user