twitter-thread
A list of posts with lines connecting replies.
Assign a TwitterThread object to .data. Assign display settings to .options. Reassign the object to update the component.
import 'twitter-components/register'const element = document.querySelector('twitter-thread')element.data = dataelement.options = { theme: 'dark', countFormat: 'full' }default
CSS parts
Section titled “CSS parts”thread
See settings for the shared options and composition for slots and events. Each component uses only the settings that apply to it.