SVGBuilderExtensions.OnKeyUp

SVGBuilderExtensions.OnKeyUp<TBuilder> method

Sets the ‘onkeyup’ event attribute for handling keyup events on the element.

public static TBuilder OnKeyUp<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 a key is released.

Return Value

The builder instance for chaining.

See Also