Slide kit command

animation.list

Animation Gallery

Lists the animation effects the animation commands take, with class (entrance, emphasis, exit, path) and options.

Kit
Slide 0.1.0 (.kslide and .pptx)
Changes the document
no

Parameters

Parameters of animation.list
NameTypeRequiredDescription
onSlideintegernothe slide the ids are on, from 1

Call through slide_run

text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "animation.list" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: onSlide. slide_run answers the step’s result in completed[i].result.

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "class": {
        "type": "string"
      },
      "id": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "options": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "type": "object"
  },
  "type": "array"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "onSlide": {
      "description": "the slide the ids are on, from 1",
      "type": "integer"
    }
  },
  "returns": "[{id, label, class, options}]",
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (slide_commands through @kition/[email protected], built from KitionAI/kition-slide@7ef3d11). As data: commands.jsonl.