Skip to content

Commit 0bb355a

Browse files
Add wordBreak option to README.md
1 parent 762e440 commit 0bb355a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ In some upcoming version it may be able to detect this value automatically.
3434

3535
| property | type | default | description |
3636
| --- | --- | --- | --- |
37-
| importCss | Boolean | false | Set to `true` in order to import styles into `<head>` automatically, element.style is used by default
37+
| importCss | Boolean | `false` | Set to `true` in order to import styles into `<head>` automatically, element.style is used by default
3838
| textOverflow | String | `ellipsis` | Set the value for [`text-overflow`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow) property in modern browsers
39-
| fallbackFunc | Function | defaultFallbackFunc | Provide your own default method to handle the truncation strategy on unsupported browsers. Accepts all directive params: `element (Node)`, `bindings (Object)`, `lines (Number)`
39+
| wordBreak | Boolean | `true` | Break words by using [`word-break`](https://developer.mozilla.org/en-US/docs/Web/CSS/word-break) property.
40+
| fallbackFunc | Function | `defaultFallbackFunc` | Provide your own default method to handle the truncation strategy on unsupported browsers. Accepts all directive params: `element (Node)`, `bindings (Object)`, `lines (Number)`
4041

4142

4243
### Caveats

0 commit comments

Comments
 (0)