SVGBuilderExtensions.OnTimeUpdate

SVGBuilderExtensions.OnTimeUpdate<TBuilder> method

Sets the ‘ontimeupdate’ event attribute for handling events when the current playback position of media changes.

public static TBuilder OnTimeUpdate<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 current playback position changes.

Return Value

The builder instance for chaining.

See Also