SVGBuilderExtensions.OnBegin

SVGBuilderExtensions.OnBegin<TBuilder> method

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

public static TBuilder OnBegin<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 begins.

Return Value

The builder instance for chaining.

See Also