We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(part of PKObject)
Return Type: void
Parameters: newClass (string)
Subclasses an object with the name of the supplied class. The new class name is added to _classHierarchy and the prior class becomes the superclass.
_classHierarchy
A subclass inherits all the original methods as-is -- if a method is to be subclassed, use overrideSuper and super.
newObject = function () { var self = new PKObject(); self.subclass ( "newObject" ); ... return self; }
0.3 Introduced; docs valid