Difference between revisions of "How:Write scripts in JavaScript for Memento"

From Memento Database Wiki
Jump to navigation Jump to search
(Created page with "The types of Memento JavaScript scripts are: * A trigger script, with event & phase options * An action script, applying to the current entry or library * Shared code for use...")
 
m
Line 1: Line 1:
 +
{{Stamp|2021-03-21|4.10.0|1.9.6}}
 +
 +
{{NoteLine|THIS PAGE IS UNDER DEVELOPMENT.}}
 +
 
The types of Memento JavaScript scripts are:
 
The types of Memento JavaScript scripts are:
 
* A trigger script, with event & phase options
 
* A trigger script, with event & phase options

Revision as of 20:22, 21 March 2021

« Page as of 2021-03-21, editions Mobile 4.10.0, Desktop 1.9.6 »


« NOTE: THIS PAGE IS UNDER DEVELOPMENT. »


The types of Memento JavaScript scripts are:

  • A trigger script, with event & phase options
  • An action script, applying to the current entry or library
  • Shared code for use by trigger & action scripts
  • A custom data source script to guide source data to the appropriate destination fields

Trigger script

TBD

Action script

TBD

Shared script

TBD

Custom data source script

TBD