SVGBuilderExtensions.OnEnd

SVGBuilderExtensions.OnEnd<TBuilder> method

Sets the ‘onend’ attribute, defining a script to be run at the end of the animation.

public static TBuilder OnEnd<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IAnimationEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe script to run when the animation ends.

Return Value

The builder instance for chaining.

See Also