SVGBuilderExtensions.OnClose

SVGBuilderExtensions.OnClose<TBuilder> method

Sets the ‘onclose’ event attribute for handling close actions on dialog elements.

public static TBuilder OnClose<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 dialog is closed.

Return Value

The builder instance for chaining.

See Also