daily pastebin goal
42%
SHARE
TWEET

setText

dtrq Feb 19th, 2018 (edited) 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Text {
  2. anchors.fill: parent
  3. id: text1
  4. }
  5.  
  6. property alias txt1: text1.text
  7.  
  8. function setText(value1) {
  9. txt1 = value1 // doesn't change anything
  10. console.log(txt1) // returns good value
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top