UNPKG
@selfage/tabs
Version:
latest (3.0.1)
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.0.0
Common features to navigate between tabs.
github.com/selfage/tabs
selfage/tabs
@selfage/tabs
/
navigator.d.ts
11 lines
(10 loc)
•
317 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
declare
class
TabNavigator
<
Tab
> {
private
addTab;
private
removeTab;
private
updateTab;
goTo
:
(
tab
:
Tab
) =>
void
;
private
currentTab;
constructor
(
addTab
: (tab: Tab) =>
void
,
removeTab
: (tab: Tab) =>
void
,
updateTab
?: (tab: Tab) =>
void
);
private
goToInternal;
remove
():
void
; }