# هل من الممكن تعديل دالة في ملف مساعد عبر نظام المكونات في الإضافة أو القالب؟

**URL:** <https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964>\
**Category:** Development\
**Created:** [7 فبراير 2020، 8:09ص UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964 "2020-02-07T08:09:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![justin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin/32/157614_2.png) [@justin](https://meta.discourse.org/u/justin)\
**Post date:** [7 فبراير 2020، 6:02م UTC](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964/6 "2020-02-07T18:02:16Z")

</div>

هل فكرت في إضافة الكلاس عبر JavaScript أو تجاوز النمط المضمن باستخدام `!important` في ورقة الأنماط؟ بينما يمكنك العمل على تجاوز هذه الطريقة، إلا أنها ستتعطل في نهاية المطاف. يُعد إضافة العنصر إلى DOM عبر JavaScript الطريقة الأكثر استقرارًا على الأرجح.

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-modify-a-function-in-a-helper-via-the-plugin-or-theme-component-system/140964)._
