Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #119 from Financial-Times/usage-readme
Browse files Browse the repository at this point in the history
Add general usage to readme
  • Loading branch information
notlee authored Aug 7, 2020
2 parents 416fe1f + cd79acb commit f541336
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ ftdomdelegate [![CircleCI](https://circleci.com/gh/Financial-Times/ftdomdelegate

FT's dom delegate library is a component for binding to events on all target elements matching the given selector, irrespective of whether anything exists in the DOM at registration time or not. This allows developers to implement the [event delegation pattern](http://www.sitepoint.com/javascript-event-delegation-is-easier-than-you-think/).

- [Usage](#usage)
- [JavaScript](#javascript)
- [Migration](#migration)
- [Contact](#contact)
- [Licence](#licence)

## Usage

Check out [how to include Origami components in your project](https://origami.ft.com/docs/components/#including-origami-components-in-your-project) to get started with `ftdomdelegate`.

## JavaScript

To import ftdomdelegate:
Expand Down

0 comments on commit f541336

Please sign in to comment.