SVGBuilderExtensions.OnDragEnter

SVGBuilderExtensions.OnDragEnter<TBuilder> method

Sets the ‘ondragenter’ event attribute for handling the entry of a dragged item into a valid drop target.

public static TBuilder OnDragEnter<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 dragged item enters a valid drop target.

Return Value

The builder instance for chaining.

See Also