Sha256: 858672d07001800550895644741fca540bf2632398714cb7450ce4563ba10c60

Contents?: true

Size: 166 Bytes

Versions: 39

Compression:

Stored size: 166 Bytes

Contents

function(){
    if(arguments[1]) {
        arguments[0].style.backgroundColor = arguments[1];
    } else {
        return arguments[0].style.backgroundColor;
    }
}

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
watir-6.16.0 lib/watir/js_snippets/backgroundColor.js
watir-6.15.1 lib/watir/js_snippets/backgroundColor.js
watir-6.15.0 lib/watir/js_snippets/backgroundColor.js
watir-6.14.0 lib/watir/js_snippets/backgroundColor.js
watir-6.13.0 lib/watir/js_snippets/backgroundColor.js
watir-6.12.0 lib/watir/js_snippets/backgroundColor.js
watir-6.11.0 lib/watir/js_snippets/backgroundColor.js
watir-6.11.0.beta2 lib/watir/js_snippets/backgroundColor.js
watir-6.11.0.beta1 lib/watir/js_snippets/backgroundColor.js
watir-6.10.3 lib/watir/js_snippets/backgroundColor.js
watir-6.10.2 lib/watir/js_snippets/backgroundColor.js
watir-6.10.0 lib/watir/js_snippets/backgroundColor.js
watir-6.9.1 lib/watir/js_snippets/backgroundColor.js
watir-6.9.0 lib/watir/js_snippets/backgroundColor.js
watir-6.8.4 lib/watir/js_snippets/backgroundColor.js
watir-6.8.3 lib/watir/js_snippets/backgroundColor.js
watir-6.8.2 lib/watir/js_snippets/backgroundColor.js
watir-6.8.1 lib/watir/js_snippets/backgroundColor.js
watir-6.8.0 lib/watir/js_snippets/backgroundColor.js