Skip to content

Commit

Permalink
Add separator
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz authored Jun 24, 2021
1 parent 9e7f875 commit cfd2397
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
<hr>

**tweet-id**

Expand All @@ -81,6 +82,8 @@ Type: `string`

The numerical ID of the desired Tweet.

<hr>

**cards**

Type: `string`
Expand All @@ -91,6 +94,8 @@ Values: `"visible" | "hidden"`

When set to hidden, links in a Tweet are not expanded to photo, video, or link previews.

<hr>

**conversation**

Type: `string`
Expand All @@ -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.

<hr>

**theme**

Type: `string`
Expand All @@ -111,6 +118,8 @@ Values: `"light" | "dark"`

When set to dark, displays Tweet with light text over a dark background.

<hr>

**width**

Type: `string | number`
Expand All @@ -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.

<hr>

**align**

Type: `string | undefined`
Expand All @@ -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.

<hr>

**lang**

Type: `string`
Expand All @@ -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.

<hr>

**dnt**

Type: `boolean`
Expand All @@ -158,6 +173,8 @@ Attributes: `(embedHtmlNode)`

Emitted after successfully load the tweet.

<hr>

**tweet-load-error**

Emitted after an error occurs while trying to get the tweet
Expand All @@ -174,6 +191,8 @@ Slot for custom loading state.
</Tweet>
```

<hr>

**error**

Slot for custom error state.
Expand Down

0 comments on commit cfd2397

Please sign in to comment.