SVGBuilderExtensions.OnFocusIn
Contents
[
Hide
]SVGBuilderExtensions.OnFocusIn<TBuilder> method
Sets the ‘onfocusin’ event attribute for handling focus-in events on the element.
public static TBuilder OnFocusIn<TBuilder>(this TBuilder builder, string value)
where TBuilder : ISVGElementBuilder, IGraphicalEventAttributeSetter
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 element receives focus, typically before the ‘onfocus’ event. |
Return Value
The builder instance for chaining.
Remarks
The ‘onfocusin’ event is triggered when an element is about to receive focus. This event differs from ‘onfocus’ in that it supports bubbling and can be used to detect focus changes on child elements as well.
See Also
- interface ISVGElementBuilder
- interface IGraphicalEventAttributeSetter
- class SVGBuilderExtensions
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG