1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    2
    Vote Rating
    0
    linvicch is on a distinguished road

      0  

    Default Answered: Ext.dom.Element capture style change event

    Answered: Ext.dom.Element capture style change event


    My apologies for double posting as the first post was posted in the wrong section.

    Is it possible to capture the event when display:none is added to an element?

  2. Well the only thing I can see in ExtJs is here http://docs.sencha.com/extjs/4.2.1/#...xt.dom.Element

    there is a DOMAttrModified event. But only where supported . So probably it won't help you.

    Do you not know where and when that display:none is added? Else the only option you have is polling on that attribute. But that aint good for the performance I think...

  3. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,120
    Vote Rating
    30
    Answers
    85
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Look here http://stackoverflow.com/questions/1...d-using-jquery

    they say you will need DOMAttrModified

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    2
    Vote Rating
    0
    linvicch is on a distinguished road

      0  

    Default


    that is not supported on chrome and it is deprecating as well. I was hoping for something more Ext oriented if possible

  5. #4
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,120
    Vote Rating
    30
    Answers
    85
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Well the only thing I can see in ExtJs is here http://docs.sencha.com/extjs/4.2.1/#...xt.dom.Element

    there is a DOMAttrModified event. But only where supported . So probably it won't help you.

    Do you not know where and when that display:none is added? Else the only option you have is polling on that attribute. But that aint good for the performance I think...

Thread Participants: 1