From b443dd1e296197b88244236626ecf14a5fdb013e Mon Sep 17 00:00:00 2001 From: Davide Tantillo Date: Fri, 24 Jan 2025 15:17:33 +0100 Subject: [PATCH] [ts][pixi-v7][pixi-v8] Add missing jsdoc. --- spine-ts/spine-pixi-v7/src/Spine.ts | 2 ++ spine-ts/spine-pixi-v8/src/Spine.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/spine-ts/spine-pixi-v7/src/Spine.ts b/spine-ts/spine-pixi-v7/src/Spine.ts index 74cc81a10..f4c2b6264 100644 --- a/spine-ts/spine-pixi-v7/src/Spine.ts +++ b/spine-ts/spine-pixi-v7/src/Spine.ts @@ -348,6 +348,8 @@ export class Spine extends Container { * slot before adding it to the current one. * @param slotRef - The slot index, or the slot name, or the Slot where the pixi object will be added to. * @param pixiObject - The pixi Container to add. + * @param options - Optional settings for the attachment. + * @param options.followAttachmentTimeline - If true, the attachment will follow the slot's attachment timeline. */ addSlotObject (slotRef: number | string | Slot, pixiObject: Container, options?: { followAttachmentTimeline?: boolean }): void { let slot = this.getSlotFromRef(slotRef); diff --git a/spine-ts/spine-pixi-v8/src/Spine.ts b/spine-ts/spine-pixi-v8/src/Spine.ts index c2259767c..e613ed887 100644 --- a/spine-ts/spine-pixi-v8/src/Spine.ts +++ b/spine-ts/spine-pixi-v8/src/Spine.ts @@ -712,6 +712,8 @@ export class Spine extends ViewContainer { * * @param container - The container to attach to the slot * @param slotRef - The slot id or slot to attach to + * @param options - Optional settings for the attachment. + * @param options.followAttachmentTimeline - If true, the attachment will follow the slot's attachment timeline. */ public addSlotObject (slot: number | string | Slot, container: Container, options?: { followAttachmentTimeline?: boolean }) { slot = this.getSlotFromRef(slot);