Skip to content

Objects Note

Ricardo Vogel edited this page Apr 22, 2019 · 1 revision

Note Object

Defined in public/Note.js

Fields:

  • id: number, automatically assigned based on the next available number
  • text = text inside the note
  • style = CSS storing the position and size. Automatically updated when moved. Example: transform: translate(10px, -10px); width: 100px; height: 150px;;
  • data_x = Storing the X position. Automatically updated when moved. Example: 5px;
  • data_y = Storing the Y position. Automatically updated when moved. Example: -5px;

Functions:

  • none
Clone this wiki locally