saurabhdaware/vue-extra

Cant directly change value of navbar after initialized

Ouverte

#2 ouverte le 19 mai 2019

 (0 commentaire) (0 réaction) (0 personne assignée)Vue (0 fork)github user discovery
buggood first issuehelp wanted

Métriques du dépôt

Stars
 (1 étoile)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

So when we first initialize navbar object with values and render the navbar we cant just do navbar.color = newColor later to change color. Currently the workaround for this is to do

this.navbar = {...this.navbar,color:newColor}

which seems super hacky. If someone can come up with something by which user can simply do navbar.color = newColor that would be great help. Thanks!

Guide contributeur