A data context can be provided using the Scrivito.
ContentTag
component with a dataContext
prop.
DataItem
from the innermost data context.A data context can be provided using the Scrivito.
ContentTag
component with a dataContext
prop.
Returns
DataItem
or undefined
– a DataItem
from the innermost data context. If no data context has been provided, undefined
is returned.
Example