chore(markdown): Restructuring dev docs
This commit is contained in:
parent
9ef46c502a
commit
d42d9a9377
114 changed files with 246 additions and 1462 deletions
9
markdown/dev/reference/api/hooks/prerender/en.md
Normal file
9
markdown/dev/reference/api/hooks/prerender/en.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: preRender
|
||||
---
|
||||
|
||||
The `preRender` hook is triggered just before your pattern is rendered to SVG.
|
||||
|
||||
Your hook method will receive [the SVG object](/api/svg) as its first parameter.
|
||||
|
||||
It is typically used to change the result of the render, for example by adding CSS to the SVG output.
|
Loading…
Add table
Add a link
Reference in a new issue