Skip to main content
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.18.3/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