Skip to content

API reference / @docmentis/udoc-node / PresentationBindingPlaceRef

Type Alias: PresentationBindingPlaceRef ​

ts
type PresentationBindingPlaceRef = 
  | {
  text: {
     id: TextBindingId;
     level: TextBindingLevel;
  };
}
  | {
  shape: {
     id: ShapeNodeId;
  };
};

Which binding place in a deck, as a host names it, by the id of what holds its binding: a binding place in a slide's text by its binding's [TextBindingId] and the level it is at, or a shape a condition makes a binding place by the shape's own id. What a deck's [BindingGeometry] and its report's entries name a binding place by, and what PresentationEditor::binding_place_selection selects.