SVGBuilderExtensions.OnDurationChange

SVGBuilderExtensions.OnDurationChange<TBuilder> method

Sets the ‘ondurationchange’ event attribute for handling changes in the duration of the media.

public static TBuilder OnDurationChange<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 duration of the media changes.

Return Value

The builder instance for chaining.

See Also