Git Product home page Git Product logo

myrnstartkit's People

Contributors

lyxia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

myrnstartkit's Issues

监听输入的问题

insertText(this.props.tag, value);

在键盘输入的时候能拿到 tag 和 value

但是无法拿到 TextInput 已输入的值

求解?

因为我要对输入的数字进行判断。例如 输入的是金额格式:1234.66
我需要已经输入的数值
例如
_onInput = (value) => {
if ('1234.66'.indexOf('.') >= 0 && value == '.') {
return;
} else {
this.insertTextRequest = requestAnimationFrame(() => {
insertText(this.props.tag, value);
});
}
}

怎么能拿到 TextInput 的 value

脚手架的2个小问题

1、模拟器debug后,键盘无法弹起(我参考了react-native-yusha-customKeyboard的customKeyboard.js,解决了debug键盘弹不出来的问题)。
2、安卓运行不起来,是否能有更详细的配置环境描述。
3、Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).
视乎性能上有欠缺,问题不大。
4、按键的事件绑定上 requestAnimationFrame ,有什么作用呢?
RN - 0.44.3

No bundle URL present.

下载后,ios运行报错。
Make sure you're running a packager server or have included a.jsbundle file in your application bundle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.