How to use these methods? RRS feed

  • Question

  • User-35580265 posted

    This method is available in angular js. This method is also mentioned in this web page. ==> https://docs.angularjs.org/api/ng/function/angular.element But that does not explain how to use these methods.


    please give me some examples. These days I am studying angularjs. I could not find any example.

    Monday, May 25, 2015 10:38 AM


All replies

  • User1711366110 posted

    Hi Waruna,
       As per this case, its fully belongs to third party js. its beyond to support by this forum.
    So I suggest you to post this thread to the corresponding forum which may provide better solutions & guidance.

    Thanks for your understanding & support.

    Tuesday, May 26, 2015 5:44 AM
  • User61956409 posted

    Hi Waruna,

    Thanks for your post.

    Form this link https://docs.angularjs.org/api/ng/function/angular.element , we could find this.

    inheritedData() - same as data(), but walks up the DOM until a value is found or the top parent element is reached.

    So you could refer to data() to understand and use inheritedData() method.


    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 6, 2015 11:11 PM