最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What´s the difference in between id and itemID in Sencha Touch? - Stack Overflow

programmeradmin1浏览0评论

I am working in a project based in Sencha 2.3.1 but It´s not working the button with ItemID but it´s correctly working with the ID property.. What is the mistake??

Thanks!!

I am working in a project based in Sencha 2.3.1 but It´s not working the button with ItemID but it´s correctly working with the ID property.. What is the mistake??

Thanks!!

Share Improve this question asked Jul 21, 2014 at 18:25 inaneinane 64810 silver badges28 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8

id : The id of a ponent translates to an html id attribute. As for html, the id must be unique in the document or application.

itemId : The itemId is a reference internal to ExtJs. It doesn't need to be globally unique, but it must be unique among the child ponents from the parent where you want to use the reference. No two sibling ponents can have the same itemId.

发布评论

评论列表(0)

  1. 暂无评论