SVGBuilderExtensions.OnLoadedData

SVGBuilderExtensions.OnLoadedData<TBuilder> method

Sets the ‘onloadeddata’ event attribute for handling events when media data is loaded.

public static TBuilder OnLoadedData<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 media data is loaded.

Return Value

The builder instance for chaining.

See Also