SVGBuilderExtensions.OnLoadStart

SVGBuilderExtensions.OnLoadStart<TBuilder> method

Sets the ‘onloadstart’ event attribute for handling events at the start of a media load operation.

public static TBuilder OnLoadStart<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 at the start of the load operation.

Return Value

The builder instance for chaining.

See Also