ViewModel 2 - A new level of simplicity

Hi @manuel,

I really like your VM. But how do you write the new binding syntax in Jade?

I just tried guessing your example in the doc like:

  button('{{b "enable: canGreet, click: greet"}}') Greet

But it’s illegal .jade

Not to mention more quote pairs like:

  <label {{b "text: 'My name is: ' + fullName"}}></label>

Don’t want to lose the simplicity of Jade. Thanks. :smile:

2 Likes