Skip to main content

MenuBuilder.OnItemClick Method

Name Parameters Description
OnItemClick(RazorBlock) jsFunc A function that is executed when a collection item is clicked or tapped. Mirrors the client-side onItemClick option.
OnItemClick(String) jsFunc A function that is executed when a collection item is clicked or tapped. Mirrors the client-side onItemClick option.