mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts][pixi-v7][pixi-v8] Add missing jsdoc.
This commit is contained in:
parent
6f8ed12686
commit
b443dd1e29
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user