7 lines
219 B
HTML
7 lines
219 B
HTML
{{- $name := .Get "name" | default "textline" -}}
|
|
{{- $expr := .Get "expr" | default (printf "data.%s" $name) -}}
|
|
{{- $default := .Get "default" | default "" -}}
|
|
<div v-scope>
|
|
<pre v-text="{{ $expr }}"></pre>
|
|
</div>
|
|
|