Dmx-show not working initially

wekk you want to hide the region when 3 conditions are valid:

  1. data is not loaded yet
  2. you have items
  3. data is being loaded

according to Patrick - hasItems() returns undefined/true/false - not loaded, has items or no items (but loaded),

so you can do it in one, with strict checks, show only when there are really no items, otherwise hide:

dmx-show="scNews.data.repeatNews.hasItems() === false"

very important the 3 === for strict checks

3 Likes