css class same name as prop

This commit is contained in:
Bruno Windels 2019-06-14 23:46:47 +02:00
parent bec7720c42
commit ad92356b40

View file

@ -4,7 +4,7 @@ export default class GapView extends TemplateView {
render(t, vm) {
const className = {
gap: true,
loading: vm => vm.isLoading
isLoading: vm => vm.isLoading
};
const label = (vm.isUp ? "🠝" : "🠟") + " fill gap"; //no binding
return t.li({className}, [