From 08a2702506ee2cc203a94d80d37d093a1d7fa878 Mon Sep 17 00:00:00 2001 From: Fabrice Daugan Date: Sun, 6 Nov 2016 18:28:52 +0100 Subject: [PATCH] Performance and handly usage --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b3ef76d2..642efad0 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,8 @@ $.material.options = { } ``` +For the ripples, a delegate is created using the given selector. This avoids manual call to `$.fn.ripples` when new inputs are created. If you want to apply statically ripples, set option `"ripplesDelegate": false`. + ### Arrive.js support If you need to dynamically add elements to your DOM then you may need to include [`Arrive.js`](https://github.com/uzairfarooq/arrive) before `Material.js`. This will automatically apply `material.js` to every new element added via JavaScript.