Skip to content
nene edited this page Mar 21, 2012 · 1 revision

Synopsis:

@protected

Documents the visibility of a member as protected. Protected members may only be used from within the class itself and its subclasses.

Example:

Ext.define("Ext.Base", {
    /**
     * Calls a parent method of the current method.
     * @protected
     */
    callParent: function() {
    }
});

See also @private for documenting members that may also be accessed from within one class.

Clone this wiki locally