SVGBuilderExtensions.OnCut

SVGBuilderExtensions.OnCut<TBuilder> method

Sets the ‘oncut’ event attribute, defining a script to run when content is cut from the SVG element.

public static TBuilder OnCut<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IDocumentElementEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe JavaScript function or script to execute on the cut event.

Return Value

The builder instance for chaining.

See Also