mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-07 17:46:44 +02:00
1.5 KiB
1.5 KiB
Warning
THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
Please edit the corresponding file in /packages/mermaid/src/docs/config/setup/config/functions/reset.md.
Function: reset()
reset(
config
):void
Defined in: packages/mermaid/src/config.ts:221
reset
Function | Description | Type | Required | Values |
---|---|---|---|---|
reset | Resets currentConfig to conf | Put Request | Required | None |
conf
Parameter | Description | Type | Required | Values |
---|---|---|---|---|
conf | base set of values, which currentConfig could be reset to. | Dictionary | Required | Any Values, with respect to the secure Array |
Notes: (default: current siteConfig ) (optional, default getSiteConfig()
)
Parameters
config
MermaidConfig
= siteConfig
base set of values, which currentConfig could be reset to. Defaults to the current siteConfig (e.g returned by getSiteConfig).
Returns
void