Add nav:click event to all main nav items (#10540)
Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
@@ -60,6 +60,20 @@ export type Events = {
|
||||
'router:navigate': {
|
||||
from?: string
|
||||
}
|
||||
'nav:click': {
|
||||
item:
|
||||
| 'home'
|
||||
| 'search'
|
||||
| 'chat'
|
||||
| 'notifications'
|
||||
| 'profile'
|
||||
| 'feeds'
|
||||
| 'lists'
|
||||
| 'saved'
|
||||
| 'settings'
|
||||
| 'menu'
|
||||
surface: 'bottomBar' | 'drawer' | 'drawerHeader' | 'topBar' | 'leftNav'
|
||||
}
|
||||
'deepLink:referrerReceived': {
|
||||
to: string
|
||||
referrer: string
|
||||
|
||||
Reference in New Issue
Block a user