From e9adfd044f1af9f5b4c75271490fed0991dc80e8 Mon Sep 17 00:00:00 2001 From: Dave Landry Date: Wed, 30 Aug 2017 17:01:39 -0400 Subject: [PATCH] updates documentation --- README.md | 91 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 61 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 7dde1d2..235207e 100644 --- a/README.md +++ b/README.md @@ -37,42 +37,48 @@ This is a global class, and extends all of the methods and functionality of [# new **Button**() + +# new **Button**() Creates a set of HTML radio input elements. -# Button.**render**() [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L38) + +# Button.**render**() [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L40) Renders the element to the page. This is a static method of [Button](#Button), and is chainable with other methods of this Class. -# Button.**buttonStyle**([*value*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L76) + +# Button.**buttonStyle**([*value*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L78) Sets the css styles for the elements. This is a static method of [Button](#Button), and is chainable with other methods of this Class. -# Button.**container**([*selector*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L86) + +# Button.**container**([*selector*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L88) If *selector* is specified, sets the SVG container element to the specified d3 selector or DOM element and returns the current class instance. If *selector* is not specified, returns the current SVG container element, which is `undefined` by default. This is a static method of [Button](#Button), and is chainable with other methods of this Class. -# Button.**text**([*value*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L106) + +# Button.**text**([*value*]) [<>](https://github.com/d3plus/d3plus-form/blob/master/src/Button.js#L108) Sets the inner text for each