# איך לדעת אם הדף נטען ברכיב תמה / ווידג'ט?

**URL:** <https://meta.discourse.org/t/how-to-tell-if-page-is-loading-in-theme-component-widget/190190>\
**Category:** Development\
**Created:** [12 במאי,‏ 2021,‏ 1:41pm UTC](https://meta.discourse.org/t/how-to-tell-if-page-is-loading-in-theme-component-widget/190190 "2021-05-12T13:41:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [19 במאי,‏ 2021,‏ 1:14pm UTC](https://meta.discourse.org/t/how-to-tell-if-page-is-loading-in-theme-component-widget/190190/6 "2021-05-19T13:14:20Z")

</div>

The short it is, the condition should be in the template. i.e.

```plaintext
{{#if xyz}}
your code
{{/If}}

```

The ember templates dynamic. If the value changes, the widget will be hidden.

---

_[View the full topic](https://meta.discourse.org/t/how-to-tell-if-page-is-loading-in-theme-component-widget/190190)._
