Skip to main content

NavOptions

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class NavOptions

Properties

Attributes

User Attributes for conditional rendering, e.g:

  • auth - User is Authenticated
  • role:name - User Role
  • perm:name - User Permission
View Source
Declaration
public HashSet<string> Attributes { get; set; }

ActivePath

Path Info that should set as active

View Source
Declaration
public string ActivePath { get; set; }

BaseHref

Prefix to include before NavItem.Path (if any)

View Source
Declaration
public string BaseHref { get; set; }

NavClass

Custom classes applied to different navigation elements (defaults to Bootstrap classes)

View Source
Declaration
public string NavClass { get; set; }

NavItemClass

View Source
Declaration
public string NavItemClass { get; set; }

NavLinkClass

View Source
Declaration
public string NavLinkClass { get; set; }

ChildNavItemClass

View Source
Declaration
public string ChildNavItemClass { get; set; }

ChildNavLinkClass

View Source
Declaration
public string ChildNavLinkClass { get; set; }

ChildNavMenuClass

View Source
Declaration
public string ChildNavMenuClass { get; set; }

ChildNavMenuItemClass

View Source
Declaration
public string ChildNavMenuItemClass { get; set; }