templateLoading

defines placeholder for each card while data is loading

string templateLoading;

Example

{
  view:"dataview",
  type: {
    type:"tiles",
    templateLoading: `<div class="lds-dual-ring"></div>`
  }
}

Related samples

Details

Default placeholder is a plain text (Loading...). To provide a new placeholder define a string or HTML as a value for the templateLoading property as it is shown above. The placeholder is shown while the card data is loading.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.