- Source:
Methods
isPagePreviewsEnabled() → {boolean}
Gets whether the user has previously enabled Page Previews.
N.B. that if the user hasn't previously enabled or disabled Page Previews, i.e. userSettings.storePagePreviewsEnabled(true), then they are treated as if they have enabled them.
- Source:
Returns:
- Type
- boolean
isReferencePreviewsEnabled() → {boolean}
- Source:
Returns:
- Type
- boolean
storePagePreviewsEnabled(enabled)
Permanently persists (typically in localStorage) whether the user has enabled Page Previews.
Parameters:
Name | Type | Description |
---|---|---|
enabled |
boolean |
- Source:
storeReferencePreviewsEnabled(enabled)
Parameters:
Name | Type | Description |
---|---|---|
enabled |
boolean |
- Source: