Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
indianmodassir authored Dec 24, 2023
1 parent faa12a3 commit 57560f5
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ options: A placeholder Object `{}`
#### Javascript code
```js
placeholder.set({
background: "#677cbb", // Placeholder background (optional)
color: "#fff", // Placholder text color (optional)
sizePreview: true, // true/false true for incling size preview (optinal)
fontFamily: "Arial", // Custom font-family (optinal)
fontSize: 20, // Custom font-size (optinal)
fontWeight: 900, // Custom font-weight (optinal)
fontStyle: "normal" // Custom font-style italic/oblique/normal (optinal)
background: "#677cbb", // Placeholder background (optional)
color: "#fff", // Placholder text color (optional)
sizePreview: true, // true/false true for incling size preview (optinal)
fontFamily: "Arial", // Custom font-family (optinal)
fontSize: 20, // Custom font-size (optinal)
fontWeight: 900, // Custom font-weight (optinal)
fontStyle: "normal" // Custom font-style italic/oblique/normal (optinal)
});
```

Expand Down Expand Up @@ -97,8 +97,8 @@ To report a bug in any of these browsers, please <a href="https://github.com/jqr
**Javascript Code**
```js
placeholder.set({
sizePreview: true,
fontFamily: "monospace"
sizePreview: true,
fontFamily: "monospace"
});
```
**Preview:**
Expand All @@ -108,10 +108,10 @@ placeholder.set({
**Javascript Code**
```js
placeholder.set({
background: "dark",
sizePreview: true,
color: "#ddd",
fontFamily: "monospace"
background: "dark",
sizePreview: true,
color: "#ddd",
fontFamily: "monospace"
});
```
**Preview:**
Expand All @@ -121,13 +121,13 @@ placeholder.set({
**Javascript Code**
```js
placeholder.set({
background: "#677cbb",
color: "#fff",
sizePreview: true,
fontFamily: "Arial",
fontSize: 20,
fontWeight: 900,
fontStyle: "normal"
background: "#677cbb",
color: "#fff",
sizePreview: true,
fontFamily: "Arial",
fontSize: 20,
fontWeight: 900,
fontStyle: "normal"
});
```
**Preview:**
Expand All @@ -142,11 +142,11 @@ placeholder.set({
**Javascript Code**
```js
placeholder.set({
background: "#555555",
fontWeight: 900,
fontSize: 20,
color: "#eeeeee",
fontStyle: "italic"
background: "#555555",
fontWeight: 900,
fontSize: 20,
color: "#eeeeee",
fontStyle: "italic"
});
```
**Preview:**
Expand Down

0 comments on commit 57560f5

Please sign in to comment.