From e9c82dfe6ce8996311fe8225ae94b12bcd1de2e1 Mon Sep 17 00:00:00 2001 From: Patrick Coffey Date: Tue, 15 Aug 2017 16:48:27 -0500 Subject: [PATCH] Document ability to toggle click-drag off --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 02b66cc..699a315 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,16 @@ Emitted with the following info: - `clientX` - the final mouse event's `clientX` value - `clientY` - the final mouse event's `clientY` value +### Applying click-drag conditionally +You can conditionally apply `click-drag` behaviors by specifying an `enabled` +attribute in your `click-drag` property: + +```javascript +... + +... +``` + ### Installation #### Browser