writeTimelinePlacements
此内容尚不支持你的语言。
writeTimelinePlacements(
transaction,project,placements,options?):void
Defined in: packages/transaction/dist/commands.d.ts:162
Writes a resolved timeline layout into a transaction builder.
This is the shared bridge between speculative preview and commit. Pass the
same placements to an AelionPreviewOptions.overlay callback while dragging,
then to EditingCommands.applyPlacements on pointer-up. The helper updates
Track membership and rebinds affected Transitions; it does not commit or
validate the resulting Project by itself.
Parameters
Section titled “Parameters”transaction
Section titled “transaction”project
Section titled “project”Readonly<AelionProject>
placements
Section titled “placements”ReadonlyMap<string, TimelinePlacement>
options?
Section titled “options?”WriteTimelinePlacementsOptions
Returns
Section titled “Returns”void