Skip to content

Commit 867066b

Browse files
Update _getFactoryInstance.md
1 parent 277baa6 commit 867066b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

docs/_getFactoryInstance.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1-
The `helpers._getFactoryInstance(): any` method returns a template for a given data type.
2-
Here is an example of using the method correctly.
1+
## _getFactoryInstance
2+
Gets a factory instance. Useful for registing templates.
3+
``` sig
4+
helpers._getFactoryInstance(null, null);
5+
```
6+
7+
## Returns
8+
A factory instance for a given data type.
9+
10+
## Example
11+
Let us make a rendered imaage template.
312
``` ts
413
namespace helpers {
514
export function getRenderImageByName (name: string): Image {

0 commit comments

Comments
 (0)