This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Public Method Annotations API

setPosition()

Set the screen position of the sticky note in context. Can be a value in pixels or a percentage (append '%' or 'px' to the values, respectively).

Examples

const myNote = itemsApp.assessApp().annotationsApp().module('stickynote').addNote();

myNote.setPosition('30%','30%');
myNote.setPosition('100px','100px');

Arguments

  • x string
  • y string

Return value

None (undefined).

Was this article helpful?