Skip to main content
Module

x/lume/core/utils/data_values.ts>getDataValue

🔥 Static site generator for Deno 🦕
Extremely Popular
Go to Latest
function getDataValue
import { getDataValue } from "https://deno.land/x/lume@v2.2.4/core/utils/data_values.ts";

Get the value of a page data For example, if the value is "=title", it returns 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: Partial<Data>
optional
value: unknown