Skip to content

Simplest possible app to convert a selection into an annotation

Notifications You must be signed in to change notification settings

judell/HelloWorldAnnotated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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/

About

Simplest possible app to convert a selection into an annotation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published