简体   繁体   中英

text input box with kineticjs

I want to create something like this with kineticjs. But I can't find the way to have text input and buttons using KineticJs like with flash? Is it possible?

I think creating DOM <input> and place it on top of stage is only one good way to use input.

<div id="con"></div>
<input type='text' id='input'>

css:

#input {
  position : absolute;
  top : 30px;
  left: 50px;
}

http://jsbin.com/reqile/1/edit

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM