How variables can be used in javascript? #1774
Closed
zenglihunter
started this conversation in
General
Replies: 1 comment
-
var name = automaRefData('variables', 'name'); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My code in JavaScript block is this
document.querySelector('kat-textarea').value = 'dear {{ variables@name}}, nice to meet you!';
But it only outputs text, how can the variable parameters take effect?
For example:
dear {{ variables@name}}, nice to meet you!
is
dear tiger, nice to meet you!
thank you
Beta Was this translation helpful? Give feedback.
All reactions