# Binding to Custom Component Methods

**URL:** <https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [August 14, 2018, 4:58pm UTC](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245 "2018-08-14T16:58:24Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 16, 2018, 10:24am UTC](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245/9 "2018-08-16T10:24:30Z")

</div>

One more optimization tip: never use the tag() expression function. Wherever you think you need it, move its result to an indirect tag binding, on a custom property if necessary, and use that property’s value instead.

The tag() expression function is a backwards-compatibility function with less than ideal behavior.

---

_[View the full topic](https://forum.inductiveautomation.com/t/binding-to-custom-component-methods/19245)._
