📜  获取输入 nativscript 的值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:16.299000             🧑  作者: Mango

代码示例1
var view = require("ui/core/view");
function pageLoaded(args) {
    var page = args.object;
    var textfield= view.getViewById(page, "textfieldID");
}
var text = textField.text;