Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 774 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 774 Bytes

HelloWorldAnnotated

This is a reference implementation of the following pattern:

  1. Given a selection in a page, form the selectors needed to post an annotation that targets the selection.
  2. Lead a user through an interaction that influences the content of that annotation.
  3. Post the annotation.

This example runs from a bookmarklet.

You can "install" it by creating a bookmark with this text in the URL field:

javascript:(function(){var d=document; var s=d.createElement('script');s.setAttribute('src','https://jonudell.info/h/HelloWorldAnnotated/gather.js');d.head.appendChild(s)})();"

Screencast: http://jonudell.net/h/HelloWorldAnnotated.mp4

Blog post: https://blog.jonudell.net/2018/06/21/annotation-powered-apps-a-hello-world-example/