MCPcopy Create free account

hub / github.com/blaumeise20/template-jsx / functions

Functions22 in github.com/blaumeise20/template-jsx

↓ 3 callersFunctioncreateIndent
(options: RenderOptions, indentation: number)
src/index.ts:208
↓ 3 callersFunctionrender
(top: Element, options: RenderOptions = {}, indentation: number = 0)
src/index.ts:107
↓ 1 callersFunctioncreateAttrs
(props: Props)
src/index.ts:215
↓ 1 callersFunctioncreateElement
(nameOrGenerator: any, props: any, ...children: Node[])
src/index.ts:63
↓ 1 callersMethodcreateHandler
(component: ElementGenerator<{ req: ExpressRequest, res: ExpressResponse }>, status?: number)
src/index.ts:341
↓ 1 callersFunctionflatten
(children: Node[])
src/index.ts:91
↓ 1 callersFunctionrenderInternal
(node: Node, options: RenderOptions, indentation: number)
src/index.ts:141
FunctionCase
({ c }, children)
src/index.ts:306
FunctionDefault
(_, children)
src/index.ts:309
FunctionGreeting
examples/index.tsx:3
FunctionHead
(props, children)
src/index.ts:315
FunctionHome
()
examples/express.tsx:11
FunctionHtmlPage
(props, children)
src/index.ts:282
FunctionIf
({ cond }, children)
src/index.ts:290
FunctionIfApp
()
examples/ifSwitch.tsx:3
FunctionNotFound
({ req })
examples/express.tsx:24
FunctionSubPage
()
examples/express.tsx:18
FunctionSwitch
({ expr }, children)
src/index.ts:297
FunctionSwitchApp
()
examples/ifSwitch.tsx:16
Methodconstructor
* Creates a new element data container. * @param name The name of the element. (Like `div`, `a`, etc.) * @param props The properties/attribu
src/index.ts:86
Functioncreate
(options: RenderOptions = {})
src/index.ts:225
FunctioncreateHandler
(component: ElementGenerator<{ req: ExpressRequest, res: ExpressResponse }>, status?: number)
src/index.ts:250