Docs Updated
This commit is contained in:
@@ -168,7 +168,6 @@ $mount(UserDropdown, '#demo-user');
|
||||
```javascript
|
||||
const ReactiveDropdown = () => {
|
||||
const count = $(0);
|
||||
$watch(()=>console.log(count()));
|
||||
const items = () => [
|
||||
{ label: `Count: ${count()}`, onclick: () => {} },
|
||||
{ label: 'Increment', onclick: () => count(count() + 1) },
|
||||
|
||||
Reference in New Issue
Block a user