Skip to content

Commit c7480e0

Browse files
committed
docs(readme): Add options table
1 parent f923c1d commit c7480e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ twigDrupalString({
8282
});
8383
```
8484

85+
## Options
86+
87+
The `twigDrupalString` method receives an options object with the following properties:
88+
89+
| Property | Type | Description |
90+
| -------- | ---------- | --------------------------------------------- |
91+
| `Twig` | `Twig` | Twig.js engine instance |
92+
| `files` | `string[]` | Array of paths to translation srings |
93+
| `watch` | `boolean` | Enable or disable watch mode, default `false` |
94+
8595
## Contributing
8696

8797
See [contributing documentation](CONTRIBUTING.md) for more information.

0 commit comments

Comments
 (0)