Closed nbrugger-tgm closed 3 years ago
I want to incoperate features like the v-if from VueJS
v-if
<p v-if="percent == 100"> Done! </p>
JLabel label = new JLabel("Done!");
binder.bind("percent",label::setVisible,percent -> percent == 100);
binder.showIf("percent",label::setVisible,percent -> percent == 100); //enforces boolean conversion
Added in 539538cb81e9e9e5bf6fd4f3c0f32374703b1f37
Issue #42 (Custom DSL) makes this features unnecessary and will replace it.
Directives
I want to incoperate features like the
v-if
from VueJSVue
Current Solution
Prefered solution