(id: number)
| 34 | } |
| 35 | |
| 36 | function getTabById(id: number): TabView { |
| 37 | const ref = tabs.find((ref) => { |
| 38 | const tab = ref.get(); |
| 39 | |
| 40 | return tab && tab._domId === id; |
| 41 | }); |
| 42 | |
| 43 | return ref && ref.get(); |
| 44 | } |
| 45 | |
| 46 | function initializeNativeClasses() { |
| 47 | if (PagerAdapter) { |