What is a JQueryExtender

A JQuery extender is a wrapper of a jQuery plugin. A jQuery plug-in has many properties. The way the properties are mapped deppend on their nature. You then have two ways to specify the value of a property depending on what it means for the jQuery plug-in.

How to customize your JQueryExtender

There are two ways to customize your JQueryExtender, the first one is to specify attributes, the other one is to use Child nodes. However, each way of customization exists because of what it represents in jQuery.

Attributes of a JQueryExtender

Attributes of a JQueryExtender represents an option of a jQuery plug-in. If you have a look at the documentation of the jQuery UI plug-in, you will see, they have a tab call options. This is what attributes of a JQueryExtender are meant to : representing options of a JQuery plug-in.

You may see sometimes 2 properties with almost the same name. It is the case when a property has many element types possible. for example, it can eitheir an enum or a jQuery selector, thus, we can find PropertyNameSelector and PropertyNameEnum. Of course, there is a validation rule behind this find of properties which prevents the user to assign the same jQuery option twice.

Child nodes of a JQueryExtender

Child nodes of a JQueryExtender represents an event of a jQuery plug-in. If you have a look at the documentation of the jQuery UI plug-in, you will see, they have a tab call events. This is what child nodes of a JQueryExtender are meant to : representing event of a JQuery plug-in.

Last edited Jun 9, 2009 at 1:04 PM by neonp, version 2

Comments

No comments yet.