If you’re integrating your site with X using X for Websites and Web Intents, you can enhance your application using JavaScript. By default,Documentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
widgets-js will find markup in a page and convert basic, functional mark-up into rich interactive widgets. In addition, there are a number of functions of widgets-js that allow developers to work with X content dynamically, after the page has loaded.
This documentation has been broken into chapters:
- Setting up X for Websites
- Controlling Loading and Initialization of Widgets
- Factory functions to generate widgets
- Events from widgets and Web Intents