Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blaumeise20/template-jsx
/ functions
Functions
22 in github.com/blaumeise20/template-jsx
⨍
Functions
22
◇
Types & classes
5
↓ 3 callers
Function
createIndent
(options: RenderOptions, indentation: number)
src/index.ts:208
↓ 3 callers
Function
render
(top: Element, options: RenderOptions = {}, indentation: number = 0)
src/index.ts:107
↓ 1 callers
Function
createAttrs
(props: Props)
src/index.ts:215
↓ 1 callers
Function
createElement
(nameOrGenerator: any, props: any, ...children: Node[])
src/index.ts:63
↓ 1 callers
Method
createHandler
(component: ElementGenerator<{ req: ExpressRequest, res: ExpressResponse }>, status?: number)
src/index.ts:341
↓ 1 callers
Function
flatten
(children: Node[])
src/index.ts:91
↓ 1 callers
Function
renderInternal
(node: Node, options: RenderOptions, indentation: number)
src/index.ts:141
Function
Case
({ c }, children)
src/index.ts:306
Function
Default
(_, children)
src/index.ts:309
Function
Greeting
examples/index.tsx:3
Function
Head
(props, children)
src/index.ts:315
Function
Home
()
examples/express.tsx:11
Function
HtmlPage
(props, children)
src/index.ts:282
Function
If
({ cond }, children)
src/index.ts:290
Function
IfApp
()
examples/ifSwitch.tsx:3
Function
NotFound
({ req })
examples/express.tsx:24
Function
SubPage
()
examples/express.tsx:18
Function
Switch
({ expr }, children)
src/index.ts:297
Function
SwitchApp
()
examples/ifSwitch.tsx:16
Method
constructor
* 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
Function
create
(options: RenderOptions = {})
src/index.ts:225
Function
createHandler
(component: ElementGenerator<{ req: ExpressRequest, res: ExpressResponse }>, status?: number)
src/index.ts:250