摘要: 1、需要引用的命名空间: 2、直接上干货,需要的拿走: (1)、列举所有枚举值和描述 (2)、列举所有枚举值和索引 (3)、获取指定枚举值的描述 (4)、关于扩展需要的童鞋可以自己写个【获取指定枚举值的描述】的扩展方法,小牛这里没有必要就没写。 【明日小牛】原创——转载请注明出处 阅读全文
posted @ 2016-09-18 20:20 PorkMannon 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: 1、indexof The indexOf function returns the index of the first array item that equals your parameter. For example,myObservableArray.indexOf('Blah') wil 阅读全文
posted @ 2015-07-17 15:59 PorkMannon 阅读(546) 评论(0) 推荐(0) 编辑