Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
asantibanez committed Oct 14, 2020
1 parent b9f8f55 commit 030ee71
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,23 @@ public function onEventDropped($eventId, $year, $month, $day)
}
```

### Interaction customization

You can also add automatic polling if needed using `pollMillis` parameters. You can combo with `pollAction` in
order to call a specific action in your component at the desired polling interval.

### Disabling interactions

By default click and drag/drop events are enabled. To disable them you can use the following parameters when
rendering the component
```blade
<livewire:appointments-grid
:day-click-enabled="false"
:event-click-enabled="false"
:drag-and-drop-enabled="false"
/>
```

### Testing

``` bash
Expand Down

0 comments on commit 030ee71

Please sign in to comment.