Sha256: 2fcdef960513ff8040c0dbceff828708db9e554d41fbf128a16a82bf23c636d0

Contents?: true

Size: 726 Bytes

Versions: 11

Compression:

Stored size: 726 Bytes

Contents

$debug("Defining HTMLLabelElement");
/* 
* HTMLLabelElement - DOM Level 2
*/
var HTMLLabelElement = function(ownerDocument) {
    this.HTMLInputCommon = HTMLInputCommon;
    this.HTMLInputCommon(ownerDocument);
};
HTMLLabelElement.prototype = new HTMLInputCommon;
__extend__(HTMLLabelElement.prototype, inputElements_dataProperties);
__extend__(HTMLLabelElement.prototype, {
    get htmlFor(){
        return this.getAttribute('for');
    },
    set htmlFor(value){
        this.setAttribute('for',value);
    },
    get dataFormatAs(){
        return this.getAttribute('dataFormatAs');
    },
    set dataFormatAs(value){
        this.setAttribute('dataFormatAs',value);
    }
});

// $w.HTMLLabelElement = HTMLLabelElement;

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
envjs19-0.3.8.20101029121421 src/html/label.js
envjs-0.3.8 src/html/label.js
envjs-0.3.7 src/html/label.js
envjs-0.3.6 src/html/label.js
envjs-0.3.5 src/html/label.js
envjs-0.3.4 src/html/label.js
envjs-0.3.3 src/html/label.js
envjs-0.3.2 src/html/label.js
envjs-0.3.1 src/html/label.js
envjs-0.3.0 src/html/label.js
envjs-0.2.0 src/html/label.js