How to get last tab’s ID ?
Tabbar doesn’t have any API to receive such info.
I found the solution, so wanted to share it.
Last tab’s Id = tabbar.tabsId.last().idd;
This will work in common case, but API allows to add tab not to the end but to specified position. So in theory it possible to write init code, with which code above will be incorrect.