preferences
grafonnet.preferences
Index
fn withCookiePreferences(value)
fn withCookiePreferencesMixin(value)
fn withHomeDashboardUID(value)
fn withLanguage(value)
fn withQueryHistory(value)
fn withQueryHistoryMixin(value)
fn withTheme(value)
fn withTimezone(value)
fn withWeekStart(value)
obj cookiePreferences
obj queryHistory
Fields
fn withCookiePreferences
withCookiePreferences(value)
PARAMETERS:
- value (
object
)
Cookie preferences
fn withCookiePreferencesMixin
withCookiePreferencesMixin(value)
PARAMETERS:
- value (
object
)
Cookie preferences
fn withHomeDashboardUID
withHomeDashboardUID(value)
PARAMETERS:
- value (
string
)
UID for the home dashboard
fn withLanguage
withLanguage(value)
PARAMETERS:
- value (
string
)
Selected language (beta)
fn withQueryHistory
withQueryHistory(value)
PARAMETERS:
- value (
object
)
Explore query history preferences
fn withQueryHistoryMixin
withQueryHistoryMixin(value)
PARAMETERS:
- value (
object
)
Explore query history preferences
fn withTheme
withTheme(value)
PARAMETERS:
- value (
string
)
light, dark, empty is default
fn withTimezone
withTimezone(value)
PARAMETERS:
- value (
string
)
The timezone selection TODO: this should use the timezone defined in common
fn withWeekStart
withWeekStart(value)
PARAMETERS:
- value (
string
)
day of the week (sunday, monday, etc)
obj cookiePreferences
fn cookiePreferences.withAnalytics
cookiePreferences.withAnalytics(value)
PARAMETERS:
- value (
object
)
fn cookiePreferences.withAnalyticsMixin
cookiePreferences.withAnalyticsMixin(value)
PARAMETERS:
- value (
object
)
fn cookiePreferences.withFunctional
cookiePreferences.withFunctional(value)
PARAMETERS:
- value (
object
)
fn cookiePreferences.withFunctionalMixin
cookiePreferences.withFunctionalMixin(value)
PARAMETERS:
- value (
object
)
fn cookiePreferences.withPerformance
cookiePreferences.withPerformance(value)
PARAMETERS:
- value (
object
)
fn cookiePreferences.withPerformanceMixin
cookiePreferences.withPerformanceMixin(value)
PARAMETERS:
- value (
object
)
obj queryHistory
fn queryHistory.withHomeTab
queryHistory.withHomeTab(value)
PARAMETERS:
- value (
string
)
one of: '' | 'query' | 'starred';