ui/client/features/pages-editor/hooks/useScopeLinks
Cockpit client (features), next. Source: ui/client/features/pages-editor/hooks/useScopeLinks.tsx.
Functions#
useScopeLinks()#
useScopeLinks(
feature,file,nodeId,contentHash):object
Defined in: ui/client/features/pages-editor/hooks/useScopeLinks.tsx:10
The selected element's scope/binding view model. Refetches when the node or the file's content hash changes (i.e. after every save), ignoring stale responses.
Parameters#
feature
string
file
string
nodeId
string
contentHash
string
Returns#
object
error
error:
string|null
view
view:
ScopeView|null