Acess class constants in html page

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 :slight_smile:

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)’

I don’t believe this is possible. Can you make them ordinary object properties (i.e. not static)?

Thats no problem, though they are not constants anymore then. anyways, it’s an acceptable fix I guess. Thank you :slight_smile: