SVGBuilderExtensions.OnSuspend

SVGBuilderExtensions.OnSuspend<TBuilder> method

Sets the ‘onsuspend’ event attribute for handling events when media data loading is suspended.

public static TBuilder OnSuspend<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 media data loading is suspended.

Return Value

The builder instance for chaining.

See Also