@inherits

  • constructor
documentjs.tags.inherits  

Indicates that the current [documentjs/DocObject DocObject] inherits from another [documentjs/DocObject DocObject].

@inherits NAME

/*
 * @constructor Client
 * @inherits Person
 * ...
 */
 var Client = Person.extend({})

Parameters

  1. NAME {String}

    The name of DocObject the current DocObject inherits from.