WireUI
WireUi Hooks

WireUI Hooks is a simple way to perform any action in determinated momoment. Is possible to fires a notification when Notifications component is ready, or call livewire action when WireUi is loaded. See available hooks bellow

Available Hooks
1Wireui.hook('load', () => console.log('wireui is ready to use'))
2 
3Wireui.hook('notifications:load', () => {
4 $wireui.notify({
5 title: 'Profile saved!',
6 description: 'Your profile was successfull saved',
7 icon: 'success'
8 })
9})
10 
11Wireui.hook('dialog:load', () => {
12 $wireui.dialog({
13 title: 'Profile saved!',
14 description: 'Your profile was successfull saved',
15 icon: 'success'
16 })
17})
18 
19Or custom dialog hook
20 
21Wireui.hook('dialog:custom:load', () => {})