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

Synopsis:

@hide

Hides a member of a parent class.

When parent has no such member, JSDuck prints a warning.

Useful if child class doesn't support everything parent supports. One should however avoid the use of this tag because following the Liskov substitution principle a subclass should support everything the parent class supports.

Example:

/**
 * An automatically numbered column.
 *
 * Note: this column can't be sorted.
 */
Ext.define("Ext.grid.RowNumberer", {
    /**
     * @cfg sortable
     * @hide
     */
});
Clone this wiki locally