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

x/lume/plugins/utils.ts>getDataValue

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function getDataValue
import { getDataValue } from "https://deno.land/x/lume@v1.17.5/plugins/utils.ts";

Get the value of a page data For example, if the value is "=title", it will return the value of the page data "title" If the value is "$.title", it will return the value of the element with the selector ".title"

Parameters

data: Data
optional
value: unknown