From eca110906c9551f2f5ebab0efe1461397e4646aa Mon Sep 17 00:00:00 2001 From: Matko Klaic Date: Tue, 27 Feb 2018 21:05:36 +0100 Subject: [PATCH] Update README.md - custom event rerendering section - re-rendering criteria --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9833a4c..f9dbe38 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,12 @@ If you need to automatically re-render other event data, you can use `calendar-w // will now watch for price +If you want to extend re-rendering criteria to watch multiple fields return concatenation of field values, for example: + + $scope.extraEventSignature = function(event) { + returns "" + event.price + event.quantity; + } + ### Adding new events issue When adding new events to the calendar they can disappear when switching months. To solve this add `stick: true` to the event object being added to the scope.