SVGBuilderExtensions.OnRateChange

SVGBuilderExtensions.OnRateChange<TBuilder> method

Sets the ‘onratechange’ event attribute for handling events when the playback rate of media is changed.

public static TBuilder OnRateChange<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 playback rate changes.

Return Value

The builder instance for chaining.

See Also