Kevin Jump
03/06/2023, 10:58 AMnavigation
on umb-editor-header property - you pass it an array of things and it writes the tabs out. ( https://github.com/KevinJump/uSync/blob/v11/dev/uSync.Backoffice.Assets/App_Plugins/uSync/backoffice/usync/usync.dashboard.controller.js#L33-L38 )Matt Wise
03/06/2023, 2:38 PMKevin Jump
03/06/2023, 2:43 PMvm.selectNavigationItem = function (item) {
eventsService.emit('usync-publisher-detail.tab.change', item);
}
Kevin Jump
03/06/2023, 2:44 PMKevin Jump
03/06/2023, 2:44 PMMatt Wise
03/06/2023, 2:44 PMKevin Jump
03/06/2023, 2:45 PMKevin Jump
03/06/2023, 2:46 PMMatt Wise
03/06/2023, 2:47 PMumb-editor-sub-views ng-if="!vm.page.loading"
sub-views="vm.page.navigation"
model="vm.definition">
</umb-editor-sub-views>
Matt Wise
03/06/2023, 2:48 PMMatt Wise
03/06/2023, 2:52 PMKevin Jump
03/06/2023, 2:54 PMeventService.emit
- then you can have your update code respond when the event fires when. (also makes it easier to move things into components if you do that later)