SVGBuilderExtensions.OnInput

SVGBuilderExtensions.OnInput<TBuilder> method

Sets the ‘oninput’ event attribute for handling input events on the element.

public static TBuilder OnInput<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 receives user input.

Return Value

The builder instance for chaining.

See Also