SVGBuilderExtensions.OnAbort

SVGBuilderExtensions.OnAbort<TBuilder> method

Sets the ‘onabort’ event attribute, defining a script to run when the loading of an SVG document is aborted.

public static TBuilder OnAbort<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IDocumentEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe JavaScript function or script to execute when the document loading is aborted.

Return Value

The builder instance for chaining.

See Also