PDF kit command

form.listActions

Field actions

Field Properties ▸ Actions: the field's action for each trigger (mouse_up, mouse_down, mouse_enter, mouse_exit, on_focus, on_blur).

Kit
PDF 0.1.0 (.pdf)
Changes the document
no

Parameters

Parameters of form.listActions
NameTypeRequiredDescription
fieldstringyes

Call through pdf_run

text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "form.listActions", "params": { "field": <string> } }]
}

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

Result

Result JSON Schema
json
{
  "additionalProperties": true,
  "description": "the field's scripts by event",
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "field": {
      "type": "string"
    }
  },
  "required": [
    "field"
  ],
  "type": "object"
}

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