Skip to content
Sample plugin showcasing how to handle document changes such as object addition, deletions and modifications.
JavaScript
Branch: master
Clone or download
Latest commit 16c2096 Oct 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Contents/Sketch Initial commit Oct 1, 2019
LICENSE.md Add license Oct 1, 2019
README.md Add README Oct 1, 2019

README.md

Document change sample plugin

Sample plugin demoing the onDocumentChange handler.

Installation

  • Download the latest release of the plugin
  • Double-click the .zip archive to extract the plugin
  • Double-click document-change.sketchplugin to install the plugin

Usage

  1. Open a new or existing document
  2. Make any change to the document, e.g.
    • Add, delete or rearrange a layer within the Layers sidebar
    • Move or rotate a layer on the canvas
    • Change the fill or border style of a layer
  3. Any change will result in a message being displayed at the bottom of the document window with details about the change
You can’t perform that action at this time.