MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / setActive

Method setActive

core/src/components/tab/tab.tsx:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 /** Set the active component for the tab */
51 @Method()
52 async setActive(): Promise<void> {
53 await this.prepareLazyLoaded();
54 this.active = true;
55 }
56
57 @Watch('active')
58 changeActive(isActive: boolean) {

Callers 1

componentWillLoadMethod · 0.95

Calls 1

prepareLazyLoadedMethod · 0.95

Tested by

no test coverage detected