SVGBuilderExtensions.OnPause

SVGBuilderExtensions.OnPause<TBuilder> method

Sets the ‘onpause’ event attribute for handling pause events, typically for media elements.

public static TBuilder OnPause<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 is paused.

Return Value

The builder instance for chaining.

See Also