From 33a93300739b8c7c8c64bef203f91a7b020d0a9a Mon Sep 17 00:00:00 2001 From: AJ Ortega Date: Wed, 7 Jan 2015 16:00:53 -0800 Subject: [PATCH] Add docstrings for increment and decrement methods --- paper-slider.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/paper-slider.html b/paper-slider.html index 667d809..9a43647 100644 --- a/paper-slider.html +++ b/paper-slider.html @@ -332,10 +332,18 @@ } }, + /** + * Increases value by `step` but not above `max`. + * @method + */ increment: function() { this.value = this.clampValue(this.value + this.step); }, + /** + * Decreases value by `step` but not below `min`. + * @method + */ decrement: function() { this.value = this.clampValue(this.value - this.step); },