SVGBuilderExtensions.OnEmptied

SVGBuilderExtensions.OnEmptied<TBuilder> method

Sets the ‘onemptied’ event attribute for handling the emptying of the media element’s source.

public static TBuilder OnEmptied<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 the media element’s source is emptied.

Return Value

The builder instance for chaining.

See Also