Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Mandarine.MandarineCore.ITemplatesManager

import type { Mandarine } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts"; 

const { ITemplatesManager } = Mandarine.MandarineCore;

Refers to the templates' registry. All the templates that are read and initialized at mandarine compile time are registed inside the templates registry When an user requests a renderable endpoint, the templates' registry will get requested in order to get the template.

interface ITemplatesManager {
getFullPath(templatePath: string): string;
getTemplate(
customPath?: boolean,
manual?: boolean,
): Mandarine.MandarineMVC.TemplateEngine.Template | undefined;
initializeTemplates(): void;
}

§Methods

§
getFullPath(templatePath: string): string
[src]
§
getTemplate(
customPath?: boolean,
manual?: boolean,
): Mandarine.MandarineMVC.TemplateEngine.Template | undefined
[src]
§
initializeTemplates(): void
[src]