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

Method changeActive

core/src/components/tab/tab.tsx:58–62  ·  view source on GitHub ↗
(isActive: boolean)

Source from the content-addressed store, hash-verified

56
57 @Watch('active')
58 changeActive(isActive: boolean) {
59 if (isActive) {
60 this.prepareLazyLoaded();
61 }
62 }
63
64 private prepareLazyLoaded(): Promise<HTMLElement | undefined> {
65 if (!this.loaded && this.component != null) {

Callers

nothing calls this directly

Calls 1

prepareLazyLoadedMethod · 0.95

Tested by

no test coverage detected