SVGBuilderExtensions.OnKeyDown
SVGBuilderExtensions.OnKeyDown<TBuilder> method
Sets the ‘onkeydown’ event attribute for handling keydown events on the element.
public static TBuilder OnKeyDown<TBuilder>(this TBuilder builder, string value)
where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter
Parameter | Description |
---|---|
TBuilder | The type of the SVG element builder. |
builder | The SVG element builder. |
value | The JavaScript function or script to execute when a key is pressed down. |
Return Value
The builder instance for chaining.
See Also
- interface ISVGElementBuilder
- interface IGlobalEventAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG