Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/nunjucks.ts>default.Environment#on

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
method default.Environment.prototype.on
import { default } from "https://deno.land/x/lume@v1.15.0/deps/nunjucks.ts";
const { Environment } = default;

Parameters

event: "load"
fn: (
name: string,
source: { src: string; path: string; noCache: boolean; },
loader: Loader,
) => void