Looking for Vue, React, Angular, Laravel Version? Click here to Get 5 in 1 JS Bundle.

Theme

  1. theme_scheme_direction

    - For direction of theme there are 2 choices given below:

    "theme_scheme_direction": {
                "value": "ltr"
            },
    choices: ["ltr", "rtl"],
  2. theme_scheme

    - For theme there are 3 choices given below:

    "theme_scheme": {
    "value": "light"
    choices: ["ltr", "rtl"],choices: ["light", "dark", "auto"],
    },
  3. To get the current value of the following you can use:

    theme_scheme

    this.themeScheme$ = store.pipe(select(SettingSelectors.themeSchemeSelector));

    theme_scheme_direction

    this.themeSchemeDirection$ = store.pipe(select(SettingSelectors.themeSchemeDirectionSelector));
    
  4. To use action you can use dispatch to update state.js.

    theme_scheme

        this.store.dispatch(SettingActions.theme_scheme({value: value}))
    

    theme_scheme_direction

        this.store.dispatch(SettingActions.theme_scheme_direction({value: value}))