saurabhdaware/vue-extra

Cant directly change value of navbar after initialized

Aberta

#2 aberto em 19 de mai. de 2019

 (0 comentário) (0 reação) (0 responsável)Vue (0 fork)github user discovery
buggood first issuehelp wanted

Métricas do repositório

Stars
 (1 estrela)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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!

Guia do colaborador