HtmlForgeX

API Reference

Class

VisNetworkKeyboardOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Keyboard interaction options.

Inheritance

  • Object
  • VisNetworkKeyboardOptions

Constructors

public VisNetworkKeyboardOptions() #

Methods

public VisNetworkKeyboardOptions WithAutoFocus(Boolean autoFocus = true) #
Returns: VisNetworkKeyboardOptions

Sets the AutoFocus property.

Parameters

autoFocus System.Boolean = true optionalposition: 0
Whether autofocus is enabled.

Returns

The current VisNetworkKeyboardOptions instance.

public VisNetworkKeyboardOptions WithBindToWindow(Boolean bind = true) #
Returns: VisNetworkKeyboardOptions

Sets the BindToWindow property.

Parameters

bind System.Boolean = true optionalposition: 0
Whether to bind keyboard events to the window.

Returns

The current VisNetworkKeyboardOptions instance.

public VisNetworkKeyboardOptions WithEnabled(Boolean enabled = true) #
Returns: VisNetworkKeyboardOptions

Sets Enabled.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether keyboard navigation is enabled.

Returns

The current VisNetworkKeyboardOptions instance.

public VisNetworkKeyboardOptions WithSpeed(Double x, Double y, Double zoom) #
Returns: VisNetworkKeyboardOptions

Sets the Speed property.

Parameters

x System.Double requiredposition: 0
Horizontal speed.
y System.Double requiredposition: 1
Vertical speed.
zoom System.Double requiredposition: 2
Zoom speed.

Returns

The current VisNetworkKeyboardOptions instance.

Properties

public Nullable<Boolean> Enabled { get; set; } #
JsonPropertyName("enabled") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether keyboard navigation is enabled.

public Object Speed { get; set; } #
JsonPropertyName("speed") JsonIgnore(Condition = 3)

Gets or sets the keyboard movement speed.

public Nullable<Boolean> BindToWindow { get; set; } #
JsonPropertyName("bindToWindow") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether keyboard events are bound to the window.

public Nullable<Boolean> AutoFocus { get; set; } #
JsonPropertyName("autoFocus") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether the network should autofocus when initialized.