IVNodeLayoutAccessor

Interface

Provides access to snapshot layout metadata of virtual DOM nodes.

Namespace: RazorConsole.Core.Vdom
Assembly: RazorConsole.Core

Definition

public interface IVNodeLayoutAccessor

Methods

9
NameTypeDescription
GetLayoutAncestorsByFocusKey(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the node associated with the supplied focus key.
GetLayoutAncestorsByHookKey(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the node associated with the supplied hook key.
GetLayoutAncestorsByVNodeId(string)()IReadOnlyList<VNodeLayoutInfo>Gets available ancestor layout metadata from the root node to the requested node.
GetLayoutByFocusKeyOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by focus key.
GetLayoutByHookKeyOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by hook key.
GetLayoutByVNodeIdOrDefault(string)()Nullable<VNodeLayoutInfo>Gets layout metadata by VNode ID.
TryGetLayoutByFocusKey(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by focus key.
TryGetLayoutByHookKey(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by hook key.
TryGetLayoutByVNodeId(string, out VNodeLayoutInfo)()BooleanAttempts to resolve layout metadata by VNode ID.