class method Protoplasm.transform
Protoplasm.transform(control, selector) → Protoplasm.Transformer
-
control(String) – A control identifier. -
selector(String) – A CSS selector rule.
Transform all elements in the document that match selector
into the specified control. If this method is called before the
document is loaded, it will execute in the document's dom:loaded
event.