Wappler 5.0.0
Pseudo-code, syntax untested:
<span dmx-repeat:json="{{ {x: 1, y: 2} }}">
{{$key}}: {{$value}} {{$value.typeof()}}
</span>
Custom formatters:
dmx.Formatter('number', 'typeof', function (el) {
return typeof el;
});
dmx.Formatter('object', 'typeof', function (el) {
return typeof el;
});
dmx.Formatter('array', 'typeof', function (el) {
return typeof el;
});
dmx.Formatter('string', 'typeof', function (el) {
return typeof el;
});
Number variables get outputted as strings, this kinds of mess the logic in my app
Community Page
Last updated:
Last updated: