Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleanup docs for calBeforeAppendFunc - closes #369

  • Loading branch information...
commit f9a7ac7347f766ce8e33639f8c56227502de004d 1 parent 393126e
@jtsage authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 docs/api/calBeforeAppendFunc.md
View
9 docs/api/calBeforeAppendFunc.md
@@ -16,18 +16,21 @@ This option allows you to define a custom function that is called on the **gener
It provides a jQuery object, it expects you to return a jQuery object.
-Standard data on each box:
+The provided object (in a single argument), is the generated, **complete** jQuery object for the date box, which also has
+the following data pre-defined:
{% highlight js %}
{
date: ##, // Numeric Date
- enabled: true, // Date can be clicked
- month: ##, // Numeric Month, zero based.
+ enabled: true, // Date can be selected
+ month: ##, // Numeric Month, zero based
}
{% endhighlight %}
+Example function:
+
{% highlight js %}
window.printData = function( myObject ) {
console.log( myObject.data() );
Please sign in to comment.
Something went wrong with that request. Please try again.