File

projects/storefrontlib/cms-components/navigation/navigation/navigation-node.model.ts

Index

Properties

Properties

children
children: Array<NavigationNode>
Type : Array<NavigationNode>
Optional
styleAttributes
styleAttributes: string
Type : string
Optional

Style rules can be added to the navigation nodes to enhance the UX. The style attributes are typically derived from the (CMS) backend.

The styleAttributes can contain a "list" of semicolon separated style rules.

styleClasses
styleClasses: string
Type : string
Optional

Style classes can be added to the navigation nodes to enhance the UX. The style classes are typically derived from the (CMS) backend and should match an existing CSS selector.

The styleClasses can contain a "list" of space separated style classes.

target
target: string | boolean
Type : string | boolean
Optional
title
title: string
Type : string
Optional
url
url: string | string[]
Type : string | string[]
Optional

The url or route (parts)

export interface NavigationNode {
  title?: string;

  /** The url or route (parts) */
  url?: string | string[];

  target?: string | boolean;

  children?: Array<NavigationNode>;

  /**
   * Style classes can be added to the navigation nodes to enhance the UX.
   * The style classes are typically derived from the (CMS) backend and should
   * match an existing CSS selector.
   *
   * The styleClasses can contain a "list" of space separated style classes.
   */
  styleClasses?: string;

  /**
   * Style rules can be added to the navigation nodes to enhance the UX.
   * The style attributes are typically derived from the (CMS) backend.
   *
   * The styleAttributes can contain a "list" of semicolon separated style rules.
   */
  styleAttributes?: string;
}

result-matching ""

    No results matching ""