Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the banner configuration for displaying announcements or notifications in the Mintlify documentation site.Remarks
This configuration allows you to display a banner at the top of your documentation for important announcements, updates, or notifications. The banner supports MDX formatting.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Content
Gets or sets the content to display in the banner.Syntax
Property Value
Type:string?
Remarks
The text or MDX content that will be displayed in the banner. MDX formatting is supported, allowing for rich content including links, emphasis, and other formatting. This content should be concise but informative.Dismissible
Gets or sets whether to show a dismiss button on the banner.Syntax
Property Value
Type:System.Nullable<bool>?
Remarks
When true, displays a dismiss button (X) on the right side of the banner, allowing users to close the banner. When false or not specified, the banner cannot be dismissed by users and will always be visible.Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?