SVGBuilderExtensions.OnUnload
SVGBuilderExtensions.OnUnload<TBuilder> method
Sets the ‘onunload’ event attribute, defining a script to run when the SVG document is unloaded.
public static TBuilder OnUnload<TBuilder>(this TBuilder builder, string value)
where TBuilder : ISVGElementBuilder, IDocumentEventAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
value | The JavaScript function or script to execute when the document is unloaded. |
Return Value
The builder instance for chaining.
See Also
- interface ISVGElementBuilder
- interface IDocumentEventAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG