Skip to main content

ButtonBuilder.OnClick Method

Name Parameters Description
OnClick(RazorBlock) jsFunc A function that is executed when the Button is clicked or tapped. Mirrors the client-side onClick option.
OnClick(String) jsFunc A function that is executed when the Button is clicked or tapped. Mirrors the client-side onClick option.