Taos API Reference
    Preparing search index...

    Function liveIdForTemplate

    • The live id for a template node inside an assembly instance. The assembly root maps to the instance's own id (instanceRootId); every other template id is namespaced under it. Deterministic — derivable at load from the persisted instance id + the persisted template ids, with nothing extra stored.

      Nested assemblies compose naturally: a nested instance's root takes instanceRootId/innerRootTemplateId, and materializing the inner assembly with that as its instanceRootId yields …/innerRootTemplateId/innerChildId.

      Parameters

      • instanceRootId: string
      • templateId: string
      • rootTemplateId: string

      Returns string