-
Notifications
You must be signed in to change notification settings - Fork 240
@abstract
nene edited this page Aug 7, 2012
·
4 revisions
Synopsis:
@abstract
Documents a class or member as abstract.
In class context it means that the class shouldn't be instantiated as not all its members are implemented and without them the class is dysfunctional. The implementation must be provided by a subclass.
In member context it means that the member is not implemented in this class. An abstract member is usually part of abstract class.
Example:
/**
* Shows the component
* @abstract
*/
show: function() {
alert("not implemented");
},