小编Kas*_*ami的帖子

在离子中自动生长textarea

我试图在我的应用程序中添加一个autogrowing textarea但由于某种原因它无法正常工作.我使用的模块是https://github.com/tagged/autogrow(它是在离子论坛上推荐的)

javascript textarea angularjs ionic-framework

7
推荐指数
5
解决办法
2万
查看次数

获取firebase返回的数组的长度

数组的通常.length属性不适用于firebase返回的数组.这是返回数组的console.log:

0: Object
1: Object
2: Object
3: Object
4: Object
$$added: function () { [native code] }
$$error: function () { [native code] }
$$moved: function () { [native code] }
$$removed: function () { [native code] }
$$updated: function () { [native code] }
$add: function () { [native code] }
$destroy: function () { [native code] }
$getRecord: function () { [native code] }
$indexFor: function () { [native code] }
$inst: function () { [native code] …
Run Code Online (Sandbox Code Playgroud)

javascript arrays angularjs firebase angularfire

3
推荐指数
1
解决办法
8470
查看次数