opening/closing
  • 1 Minute to read
  • Dark
    Light

opening/closing

  • Dark
    Light

Article summary

You can set the open attribute, which will cause the mosaic to open(Determines if the mosaic is open or closed) or close:

const m = document.querySelector('syndigo-mosaic')

m.setAttribute('open', '') // opens the mosaic
m.removeAttribute('open') // closes the mosaic

You can also detect if the mosaic is currently open or closed:

const isMosaicOpen = !!m.getAttribute('open') // true or false

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence