SVGBuilderExtensions.OnEnded

SVGBuilderExtensions.OnEnded<TBuilder> method

Sets the ‘onended’ event attribute for handling the end of media playback.

public static TBuilder OnEnded<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 playback ends.

Return Value

The builder instance for chaining.

See Also