Update new functions
This commit is contained in:
@@ -70,7 +70,7 @@ const BasicDemo = () => {
|
||||
Div({ class: 'mt-2 text-sm opacity-70' }, () => `Selected: ${selected()}`)
|
||||
]);
|
||||
};
|
||||
$mount(BasicDemo, '#demo-basic');
|
||||
Mount(BasicDemo, '#demo-basic');
|
||||
```
|
||||
|
||||
### With Tooltip
|
||||
@@ -105,7 +105,7 @@ const TooltipDemo = () => {
|
||||
})
|
||||
]);
|
||||
};
|
||||
$mount(TooltipDemo, '#demo-tooltip');
|
||||
Mount(TooltipDemo, '#demo-tooltip');
|
||||
```
|
||||
|
||||
### Disabled State
|
||||
@@ -139,7 +139,7 @@ const DisabledDemo = () => {
|
||||
})
|
||||
]);
|
||||
};
|
||||
$mount(DisabledDemo, '#demo-disabled');
|
||||
Mount(DisabledDemo, '#demo-disabled');
|
||||
```
|
||||
|
||||
### Reactive Preview
|
||||
@@ -199,7 +199,7 @@ const ReactiveDemo = () => {
|
||||
}, () => `${size()} ${color()} preview`)
|
||||
]);
|
||||
};
|
||||
$mount(ReactiveDemo, '#demo-reactive');
|
||||
Mount(ReactiveDemo, '#demo-reactive');
|
||||
```
|
||||
|
||||
### Payment Method Selection
|
||||
@@ -250,7 +250,7 @@ const PaymentDemo = () => {
|
||||
})
|
||||
]);
|
||||
};
|
||||
$mount(PaymentDemo, '#demo-payment');
|
||||
Mount(PaymentDemo, '#demo-payment');
|
||||
```
|
||||
|
||||
### All Variants
|
||||
@@ -334,7 +334,7 @@ const VariantsDemo = () => {
|
||||
])
|
||||
]);
|
||||
};
|
||||
$mount(VariantsDemo, '#demo-variants');
|
||||
Mount(VariantsDemo, '#demo-variants');
|
||||
```
|
||||
|
||||
### Dynamic Options
|
||||
@@ -405,5 +405,5 @@ const DynamicDemo = () => {
|
||||
: null
|
||||
]);
|
||||
};
|
||||
$mount(DynamicDemo, '#demo-dynamic');
|
||||
Mount(DynamicDemo, '#demo-dynamic');
|
||||
```
|
||||
Reference in New Issue
Block a user