SVGBuilderExtensions.OnMouseWheel

SVGBuilderExtensions.OnMouseWheel<TBuilder> method

Sets the ‘onmousewheel’ event attribute for handling mouse wheel events on the element.

public static TBuilder OnMouseWheel<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 mouse wheel is used over the element.

Return Value

The builder instance for chaining.

See Also