# Class JsxRenderer

The JSX renderer

- Defined in JsxRenderer.ts:26

#####
Index

### Constructors

constructor

### Properties

_afterRenders
_beforeRenders
_handlerContext
_handlersLookup
_handlersMap
_options
_template
_templateRequire
_tokenHandlers
_tokens

### Accessors

insertTokenIds
templateFullPath

### Methods

_applyTokenLoad
_initializeTokenHandlers
_loadTokenHandler
_render
getTokenInst
initializeRenderer
registerTokenHandler
render
setupTokenInst

## Constructors

### constructor

- new JsxRenderer(options): JsxRenderer

- #### Parameters

  - options: any

  #### Returns JsxRenderer

  - Defined in JsxRenderer.ts:38

## Properties

### `Private` _afterRenders

_afterRenders: any

- Defined in JsxRenderer.ts:34

### `Private` _beforeRenders

_beforeRenders: any

- Defined in JsxRenderer.ts:33

### `Private` _handlerContext

_handlerContext: any

- Defined in JsxRenderer.ts:31

### `Private` _handlersLookup

_handlersLookup: any

- Defined in JsxRenderer.ts:35

### `Private` _handlersMap

_handlersMap: any

- Defined in JsxRenderer.ts:29

### `Private` _options

_options: any

- Defined in JsxRenderer.ts:27

### `Private` _template

_template: any

- Defined in JsxRenderer.ts:32

### `Private` _templateRequire

_templateRequire: any

- Defined in JsxRenderer.ts:36

### `Private` _tokenHandlers

_tokenHandlers: any

- Defined in JsxRenderer.ts:28

### `Private` _tokens

_tokens: any

- Defined in JsxRenderer.ts:30

## Accessors

### insertTokenIds

- get insertTokenIds(): any

- #### Returns any

  - Defined in JsxRenderer.ts:58

### templateFullPath

- get templateFullPath(): any

- #### Returns any

  - Defined in JsxRenderer.ts:62

## Methods

### `Private` _applyTokenLoad

- _applyTokenLoad(element, inst): void

- #### Parameters

  - element: any
  - inst: any

  #### Returns void

  - Defined in JsxRenderer.ts:247

### `Private` _initializeTokenHandlers

- _initializeTokenHandlers(filenames): void

- #### Parameters

  - filenames: any

  #### Returns void

  - Defined in JsxRenderer.ts:293

### `Private` _loadTokenHandler

- _loadTokenHandler(path): any

- #### Parameters

  - path: any

  #### Returns any

  - Defined in JsxRenderer.ts:242

### `Private` _render

- _render(element, context, depth, defer?): any

- #### Parameters

  - element: any
  - context: any
  - depth: any
  - `Optional` defer: any

  #### Returns any

  - Defined in JsxRenderer.ts:89

### getTokenInst

- getTokenInst(element): any

- #### Parameters

  - element: any

  #### Returns any

  - Defined in JsxRenderer.ts:289

### initializeRenderer

- initializeRenderer(reset?): void

- #### Parameters

  - reset: boolean = false

  #### Returns void

  - Defined in JsxRenderer.ts:212

### registerTokenHandler

- registerTokenHandler(name, handlerMod, call): void

- #### Parameters

  - name: any
  - handlerMod: any
  - call: any

  #### Returns void

  - Defined in JsxRenderer.ts:219

### render

- render(options): Promise<RenderContext>

- render the JSX template

  #### Parameters

  - options: any

  #### Returns Promise<RenderContext>

  RenderContext

  - Defined in JsxRenderer.ts:71

### setupTokenInst

- setupTokenInst(element, scope, forRequire): any

- #### Parameters

  - element: any
  - scope: any
  - forRequire: any

  #### Returns any

  - Defined in JsxRenderer.ts:263