Hi everyone,
I try to access my public static constants from my component class in my html page. However, I’m very unsure how. I’m very happy for any hint
My OnboardingPage Component:
@Component({
selector: 'page-onboarding',
templateUrl: 'onboarding.html'
})
export class OnboardingPage { public static readonly IS_ON_BOARD = 'is_on_board';
onboarding.html:
I try to access the constant like this:
(click)=‘checkStep(IS_ON_BOARD)’