PasteboardInfotron

A really simple blueprint which can hide or display its wrapped contents. Come to think of, really usable too :)

## Sample Declaration

<div id="pasteboard1"

 impl="~01efbb741c865611dbb3d7607d325e27da"
 script="http://localhost/Pasteboard.js">

</div>

..... any number of elements

Input Terminals

Output Terminals

Properties

Demos that use it

How does it work?

This blueprint can hide what it wraps on demand


BLUEPRINT(
"~01efbb741c865611dbb3d7607d325e27da",
[
 ["set_visibility", "onVisibility", 10]
],
[
 
],
function(Class)
{
    Class.prototype.onVisibility = function(msg)
    {
        if (msg) {
            this.dom_node.style.display = "block";
        } else {
            this.dom_node.style.display = "none";
        }
    };

}, "Pasteboard");


Copyright © 2006–2008 by Assembla, LLC / Phone 1.781.328.2241 / E-mail: info@assembla.com