問題タブ [selmer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
filter - Selmer: How does one apply filters in a custom tag?
I am playing around with the Selmer library (version 1.12.33) and have constructed a simple custom tag. I want to modify this tag further to allow the use of filters in a similar vein how some standard tags, e.g. if
, for
, script
, and style
seem to allow it.
Seems the documentation doesn't cover it; does anyone know how to do this?
Here is some (very simplified) example code distilling the essence:
1. Defining the custom tag:
Obviously, I need to use filters
here somehow, but I don't know how...