Help › Reference: every action › Actions that change something
Library: pictures and simulations
skill.addPicture: Add a picture. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, part: "lesson"|"example", file: string, name: string, size?: number, alt: string}
skill.updatePicture: Save picture. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, picture: id, alt?: string, up?: bool}
skill.removePicture: Remove picture. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, picture: id}
skill.addSimulation: Add a simulation. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, part: "lesson"|"example", sim: string, predict?: string, options?: [string]|"one per line", try?: string, type?: "none"|"number"|"formula"|"multipleChoice"|"checkboxes", text?: string, answer?: number|string, tolerance?: number|string, unit?: string, otherUnits?: bool, simplified?: bool, exact?: bool, simplest?: bool, scientific?: bool, choices?: [string]|"one per line, * before correct ones", hints?: [string]|"one per line", explanation?: string}
skill.updateSimulation: Save simulation. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, task: id, sim?: string, predict?: string, options?: [string]|"one per line", try?: string, type?: "none"|"number"|"formula"|"multipleChoice"|"checkboxes", text?: string, answer?: number|string, tolerance?: number|string, unit?: string, otherUnits?: bool, simplified?: bool, exact?: bool, simplest?: bool, scientific?: bool, choices?: [string]|"one per line, * before correct ones", hints?: [string]|"one per line", explanation?: string, up?: bool}
skill.removeSimulation: Remove simulation. On the pages: Library ▸ Skill. Parameters: {course: id, skill: id, task: id}