obsidian/SecretComponent
Mock of Obsidian’s SecretComponent, a control for choosing a secret from the app’s secret storage.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| SecretComponent | Mock of Obsidian’s SecretComponent, a control whose value is the id of a secret in SecretStorage. Nothing is rendered. As in Obsidian, SecretComponent.setValue does not call the change callback, and there is no getValue: in Obsidian the callback runs only when the user picks or clears a secret in its UI, which the mock does not render. |