From 07a847457fbeb6d6cfe316e7bb04354d64a4ff3a Mon Sep 17 00:00:00 2001 From: keegan-lillo Date: Tue, 15 Mar 2016 13:07:19 +1100 Subject: [PATCH] Document the clayConfig parameter of custom component initializer --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1659445..c271b58 100755 --- a/README.md +++ b/README.md @@ -785,7 +785,7 @@ Components are simple objects with the following properties. | `style` | string | no | Any extra CSS styles you want to inject into the page. Make sure to namespace your CSS with a class that is unique to your component in order to avoid conflicts with other components. | | `manipulator` | string / manipulator | yes | Provide a string here to use one of the built-in manipulators, such as `val`. If an object is provided, it must have both a `.set(value)` and `.get()` method. | | `defaults` | object | Only if your template requires it. | An object of all the defaults your template requires. | -| `initialize` | function | no | Method which will be called after the item has been added to the page. It will be called with the `ClayItem` as the context (`this`) and with `minified` as the first parameter. | +| `initialize` | function | no | Method which will be called after the item has been added to the page. It will be called with the `ClayItem` as the context (`this`) and with [`minified`](#minified) as the first parameter and [`clayConfig`](#clayconfigobject-settings-array-config-minified-rootcontainer) as the second paramater | ### Registering a custom component.