Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Mintlify.Core.Models.InteractionConfig

Summary

Represents the interaction configuration for navigation elements in Mintlify.

Remarks

Controls how users interact with navigation elements such as groups and dropdowns, including whether expanding a group automatically navigates to its first page.

Constructors

.ctor

Syntax

public InteractionConfig()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Drilldown

Gets or sets whether to automatically navigate to the first page when expanding a navigation group.

Syntax

public System.Nullable<bool> Drilldown { get; set; }

Property Value

Type: System.Nullable<bool>

Examples

"interaction": {
  "drilldown": false  // Never navigate, only expand or collapse the group
}

Remarks

Valid values are:
  • true: Force automatic navigation to the first page when a navigation group is selected
  • false: Prevent navigation and only expand or collapse the group when it is selected
  • null: Use the theme’s default behavior
Some themes will automatically navigate to the first page in a group when it is expanded. This setting allows you to override the theme’s default behavior.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?