NamedCommand

in namespace DotVVM.Framework.Controls

Declares a command that can be exposed to JavaScript code under a specified name.

Usage & Scenarios

This control is used to specify commands which can be called from modules imported by the JS directive.

Properties

Name Type Description Notes Default Value
property icon Name String Gets or sets the name of the command to be used in JavaScript code.
attribute
inner element
static value
bindable
default
null

Events

Name Type Description
event icon Command ICommandBinding Gets or sets a command that will be invoked.

HTML produced by the control