Add API to README
This commit is contained in:
parent
2d149e2266
commit
aa7f3494cf
1 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,12 @@ Results in:
|
||||||
- `bower install gradient-parser`
|
- `bower install gradient-parser`
|
||||||
- [download the zip](https://github.com/rafaelcaricio/gradient-parser/archive/master.zip)
|
- [download the zip](https://github.com/rafaelcaricio/gradient-parser/archive/master.zip)
|
||||||
|
|
||||||
|
## API
|
||||||
|
|
||||||
|
# gradient.parse
|
||||||
|
|
||||||
|
Accepts the gradient definitions as it is declared in the `background-image` and returns an AST `object`.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
(The MIT License)
|
(The MIT License)
|
||||||
|
|
Loading…
Reference in a new issue