class method Protoplasm.register

Protoplasm.register(control, class) → null
  • control (String) – The control identifier.
  • class (Object) – A reference to the control class.

Register a control with the Protoplasm framework. The class object must take a DOM Element as its first parameter.