showing results for - "passing livewire variable in alpine js"
Irene
13 May 2017
1You can share data between livewire and apline js using : @entangle
2
3class Counter extends Component
4{
5    public $showDropdown = false;
6}
7
8<div x-data="{ open: @entangle('showDropdown') }">