跳到主要内容
版本:Next

EjsView

Implements

  • IViewEngine

Index

Constructors

constructor

Properties

ejsConfig

ejsConfig: any

viewManager

viewManager: ViewManager

Methods

render

  • render(name: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>

renderString

  • renderString(tpl: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>