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:
@@ -41,7 +41,7 @@ Autocomplete wraps a **daisyUI Input component** internally. All Input styling c
|
||||
</div>
|
||||
|
||||
```js
|
||||
const { Autocomplete, Mount } = window;
|
||||
const { Autocomplete, mount } = window;
|
||||
|
||||
const BasicDemo = () => {
|
||||
const selected = $("");
|
||||
@@ -62,7 +62,7 @@ const BasicDemo = () => {
|
||||
onselect: (value) => selected(value),
|
||||
});
|
||||
};
|
||||
Mount(BasicDemo, "#demo-basic");
|
||||
mount(BasicDemo, "#demo-basic");
|
||||
```
|
||||
|
||||
### With Objects
|
||||
@@ -75,7 +75,7 @@ Mount(BasicDemo, "#demo-basic");
|
||||
</div>
|
||||
|
||||
```js
|
||||
const { Autocomplete, Div, Mount } = window;
|
||||
const { Autocomplete, Div, mount } = window;
|
||||
|
||||
const ObjectsDemo = () => {
|
||||
const selected = $("");
|
||||
@@ -109,7 +109,7 @@ const ObjectsDemo = () => {
|
||||
),
|
||||
]);
|
||||
};
|
||||
Mount(ObjectsDemo, "#demo-objects");
|
||||
mount(ObjectsDemo, "#demo-objects");
|
||||
```
|
||||
|
||||
### With Reactive Display
|
||||
@@ -122,7 +122,7 @@ Mount(ObjectsDemo, "#demo-objects");
|
||||
</div>
|
||||
|
||||
```js
|
||||
const { Autocomplete, Div, Mount } = window;
|
||||
const { Autocomplete, Div, mount } = window;
|
||||
|
||||
const ReactiveDemo = () => {
|
||||
const selected = $("");
|
||||
@@ -155,7 +155,7 @@ const ReactiveDemo = () => {
|
||||
: null,
|
||||
]);
|
||||
};
|
||||
Mount(ReactiveDemo, "#demo-reactive");
|
||||
mount(ReactiveDemo, "#demo-reactive");
|
||||
```
|
||||
|
||||
### Dynamic Items
|
||||
@@ -168,7 +168,7 @@ Mount(ReactiveDemo, "#demo-reactive");
|
||||
</div>
|
||||
|
||||
```js
|
||||
const { Autocomplete, Select, SelectItems, Div, Mount } = window;
|
||||
const { Autocomplete, Select, SelectItems, Div, mount } = window;
|
||||
|
||||
const DynamicDemo = () => {
|
||||
const selected = $("");
|
||||
@@ -219,7 +219,7 @@ const DynamicDemo = () => {
|
||||
]),
|
||||
]);
|
||||
};
|
||||
Mount(DynamicDemo, "#demo-dynamic");
|
||||
mount(DynamicDemo, "#demo-dynamic");
|
||||
```
|
||||
|
||||
### All Variants
|
||||
@@ -232,7 +232,7 @@ Mount(DynamicDemo, "#demo-dynamic");
|
||||
</div>
|
||||
|
||||
```js
|
||||
const { Autocomplete, Div, Mount } = window;
|
||||
const { Autocomplete, Div, mount } = window;
|
||||
|
||||
const VariantsDemo = () => {
|
||||
const colors = [
|
||||
@@ -272,5 +272,5 @@ const VariantsDemo = () => {
|
||||
}),
|
||||
]);
|
||||
};
|
||||
Mount(VariantsDemo, "#demo-variants");
|
||||
mount(VariantsDemo, "#demo-variants");
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user