Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
judell authored Jun 14, 2018
1 parent 0e90dc3 commit fd76ce8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

This is a reference implementation of the following pattern:

1. A user selects text in a page
<ol>
<li>Given a selection in a page, form the selectors needed to post an annotation that targets the selection.

2. The selection will be the target of an annotation that anchors to it.
<li>Lead a user through an interaction that influences the content of that annotation.

<li>Post the annotation.
</ol>

3. The content of the annotation results from custom user interaction governed by business logic.

This example runs from a bookmarklet. To try it, drag this link -- <a href="javascript:(function(){var d=document; var s=d.createElement('script');s.setAttribute('src','https://jonudell.info/h/HelloWorldAnnotated/gather.js');d.head.appendChild(s)})();">HelloWorldAnnotated</a> -- to your browser's bookmark bar, then visit a web page, make a selection, and click the bookmarklet.

Expand Down

0 comments on commit fd76ce8

Please sign in to comment.