# On didInsertElement without prototype extensions

**URL:** <https://discuss.emberjs.com/t/on-didinsertelement-without-prototype-extensions/7697>\
**Category:** Uncategorized\
**Created:** [April 1, 2015, 10:20pm UTC](https://discuss.emberjs.com/t/on-didinsertelement-without-prototype-extensions/7697 "2015-04-01T22:20:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguelcobain](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/miguelcobain/32/15323_2.png) [@miguelcobain](https://discuss.emberjs.com/u/miguelcobain)\
**Post date:** [April 1, 2015, 10:20pm UTC](https://discuss.emberjs.com/t/on-didinsertelement-without-prototype-extensions/7697/1 "2015-04-01T22:20:41Z")

</div>

How can we `.on('didInsertElement')` without prototype extensions? Same question applies for other uses of `.on(...)` in functions.

---

<div class="post-metadata">

**Author:** ![leojpod](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/leojpod/32/10396_2.png) [@leojpod](https://discuss.emberjs.com/u/leojpod)\
**Post date:** [April 1, 2015, 10:50pm UTC](https://discuss.emberjs.com/t/on-didinsertelement-without-prototype-extensions/7697/2 "2015-04-01T22:50:36Z")

</div>

you can use `Ember.on('didInsertElement; , function () {} )`😄

---

<div class="post-metadata">

**Author:** ![mistahenry](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/mistahenry/32/16188_2.png) [@mistahenry](https://discuss.emberjs.com/u/mistahenry)\
**Post date:** [April 3, 2015, 12:16am UTC](https://discuss.emberjs.com/t/on-didinsertelement-without-prototype-extensions/7697/3 "2015-04-03T00:16:38Z")

</div>

in components, you can make a function with the name `didInsertElement` that achieves the same effect as `.on` although I prefer .`on` or the `Ember.on`
