PluginSuggestionComponentConstructorParams.isSuggestionDeclined method
PluginSuggestionComponentConstructorParams › isSuggestionDeclined
Whether the user has already declined this suggestion.Storage belongs to the host plugin (typically one of its settings), because this component has no
data.json of its own and a decline has to outlive a reload.Only ever called once
pluginSettingsComponent reports its settings loaded, so an implementation reading a setting is guaranteed to read the stored value rather than its default.Signature:
isSuggestionDeclined(this: void): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| this | void |
Returns: boolean — true when the suggestion has been declined.