Hello guys,how to get access to the input value, I'm trying this code, similar to the JS but it doesn't work:
layerA = new Layer
layerA.html = "<input type='text' value='Hello'>"x = layerA.querySelectorAll("#input").valueprint x
It looks nice, but unfortunately it returns "undefined"
Here's the super basic way to make an input in Framer:
layer = new Layerinput = document.createElement('input')layer._element.appendChild(input)
Then you can get this value any time you need it.
layer.onTap -> print input.value