SVGBuilderExtensions.OnCancel

SVGBuilderExtensions.OnCancel<TBuilder> method

Sets the ‘oncancel’ event attribute for handling user cancellation actions.

public static TBuilder OnCancel<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 on cancel events.

Return Value

The builder instance for chaining.

See Also