[英]How do I call a function that enters text into a read-only text-box by clicking an HTML button?
[英]How do i return a function call to an aframe text box element
所以我正在尝试使用 function 将文本返回到我的框架元素,到目前为止这是我的尝试
<script>
ggfunction(){
return "yourcall";
}
</script>
和
<a-marker smooth="true" type="barcode" value="1">
<a-text value=ggfunction() position="0 1 6" rotation="-90 0 0" material="color: white" align="center"></a-text>
</a-marker>
但它只返回 ggfunction() 而不是文本“yourcall”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.