inserted($el, $binding, $vnode) {
    const primaryColor = vue.$services.view.getColorPrimary();

    if (primaryColor) {
      setTheme($el, $binding.value, 'primary', primaryColor);
    }

    const secondaryColor = vue.$services.view.getColorSecondary();

    if (secondaryColor) {
      setTheme($el, $binding.value, 'secondary', secondaryColor);
    }

    const tertiaryColor = vue.$services.view.getColorTertiary();

    if (tertiaryColor) {
      setTheme($el, $binding.value, 'tertiary', tertiaryColor);
    }
  }
// Update element styling based on config
Update element styling based on config
Update element styling based on config
inserted($el, $binding, $vnode) {
    const primaryColor = vue.$services.view.getColorPrimary();
    if (primaryColor) {
      setTheme($el, $binding.value, 'primary', primaryColor);
    }
    const secondaryColor = vue.$services.view.getColorSecondary();
    if (secondaryColor) {
      setTheme($el, $binding.value, 'secondary', secondaryColor);
    }
    const tertiaryColor = vue.$services.view.getColorTertiary();
    if (tertiaryColor) {
      setTheme($el, $binding.value, 'tertiary', tertiaryColor);
    }
  }
inserted ( $el , $binding , $vnode ) { const primaryColor = vue . $services . view . getColorPrimary ( ) ; if ( primaryColor ) { setTheme ( $el , $binding . value , 'primary' , primaryColor ) ; } const secondaryColor = vue . $services . view . getColorSecondary ( ) ; if ( secondaryColor ) { setTheme ( $el , $binding . value , 'secondary' , secondaryColor ) ; } const tertiaryColor = vue . $services . view . getColorTertiary ( ) ; if ( tertiaryColor ) { setTheme ( $el , $binding . value , 'tertiary' , tertiaryColor ) ; } }
Update element styling based on config
Update element styling based on config