SVGBuilderExtensions.OnChange

SVGBuilderExtensions.OnChange<TBuilder> method

Sets the ‘onchange’ event attribute for handling changes in the element’s value.

public static TBuilder OnChange<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe JavaScript function or script to execute when the element’s value changes.

Return Value

The builder instance for chaining.

See Also