documentationfor yFiles for HTML 2.6

TypedHtmlVisual<TElementextends HTMLElement>

An utility type for HtmlVisual that restricts the type of the element property.

Inheritance Hierarchy
TypedHtmlVisual

Remarks

The main usage of this type is as type parameter of a "Base" style like NodeStyleBase<TVisual>.

You can obtain an instance of such a type from the factory method from.

Type Parameters

TElement: HTMLElement
The type of the property.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.view.TypedHtmlVisual

See Also

Properties