saurabhdaware/vue-extra

Cant directly change value of navbar after initialized

Offen

#2 geöffnet am 19.05.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Vue (0 Forks)github user discovery
buggood first issuehelp wanted

Repository-Metriken

Stars
 (1 Stern)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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!

Contributor Guide