SVGBuilderExtensions.OnDragStart

SVGBuilderExtensions.OnDragStart<TBuilder> method

Sets the ‘ondragstart’ event attribute for handling the start of a drag operation.

public static TBuilder OnDragStart<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 a drag operation starts.

Return Value

The builder instance for chaining.

See Also