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