From cd79acb8e446097591f26c63f1a85edf022f2e20 Mon Sep 17 00:00:00 2001 From: notlee Date: Fri, 7 Aug 2020 17:02:39 +0100 Subject: [PATCH] Add general usage to readme Links to instructions on how to include Origami components. https://github.com/Financial-Times/origami/issues/59 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index dc245c6..831c470 100644 --- a/README.md +++ b/README.md @@ -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: