Guest User

Untitled

a guest
Dec 17th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <div>
  2. <h4 style="cursor:pointer" onClick="()=>this.toggle()">
  3. Click to {this.state.open ? 'close' : 'open'}
  4. </h4>
  5. <p rt-if="this.state.open">This is my paragraph. It opens and
  6. closes</p>
  7. </div>
Add Comment
Please, Sign In to add comment