diff --git a/README.md b/README.md index 15988f4..251c752 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ export default defineComponent({ ``` # Props - [Embedded Tweet parameter reference](https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference) +
**tweet-id** @@ -81,6 +82,8 @@ Type: `string` The numerical ID of the desired Tweet. +
+ **cards** Type: `string` @@ -91,6 +94,8 @@ Values: `"visible" | "hidden"` When set to hidden, links in a Tweet are not expanded to photo, video, or link previews. +
+ **conversation** Type: `string` @@ -101,6 +106,8 @@ Values: `"all" | "none"` When set to none, only the cited Tweet will be displayed even if it is in reply to another Tweet. +
+ **theme** Type: `string` @@ -111,6 +118,8 @@ Values: `"light" | "dark"` When set to dark, displays Tweet with light text over a dark background. +
+ **width** Type: `string | number` @@ -121,6 +130,8 @@ Values: `"auto" | number` The maximum width of the rendered Tweet in whole pixels. This value should be between `250` and `550` pixels. +
+ **align** Type: `string | undefined` @@ -131,6 +142,8 @@ Values: `"left" | "right" | "center" | undefined` Float the Tweet left, right, or center relative to its container. Typically set to allow text or other content to wrap around the Tweet. +
+ **lang** Type: `string` @@ -141,6 +154,8 @@ Values: `"ar" | "bn" | "cs" | "da" | "de" | "el" | "en" | "es" | "fa" | "fi" | " A supported Twitter language code. Loads text components in the specified language. Note: does not affect the text of the cited Tweet. +
+ **dnt** Type: `boolean` @@ -158,6 +173,8 @@ Attributes: `(embedHtmlNode)` Emitted after successfully load the tweet. +
+ **tweet-load-error** Emitted after an error occurs while trying to get the tweet @@ -174,6 +191,8 @@ Slot for custom loading state. ``` +
+ **error** Slot for custom error state.