Custom Form Elements for mootools

button 

:: Custom Form Elements for mootools > button > cfe.module.submit 0.9.4
Filters

Class cfe.module.submit extends cfe.generic

Known Subclasses:
cfe.module.reset
Extends the generic module to replace inputs of type 'submit'

Constructor

cfe.module.submit ( )

Properties

selector - string

CSS Selector to fetch "original" HTMLElements for replacement with this module

type - string

Describes the type of this element (Submit)

Properties inherited from cfe.generic:

Methods

build

protected void build ( )
customize the "decorator" (=> sliding doors wrappers) disables text selection on the injected label
Returns: void

createOriginal

HTMLElement createOriginal ( )
Method to programmatically create an "original" HTMLElement
Returns: HTMLElement
an input field of type "submit"

initializeAdv

void initializeAdv ( )
Hides the original element and adds class jsButton to decorator
Returns: void

Configuration (Option Attributes)

slidingDoors - int

if > 0, it will create markup for css sliding doors tech
the number defines the amount of wrappers to create around this element
2: standard sliding doors (x- or y-Axis)
4: sliding doors in all directions (x/y-Axis)
Default Value: 4

Configuration attributes inherited from cfe.generic:

back to top | © 2007-2009 | custom form elements mediavrog project. | documentation build with YUI Doc from Yahoo!