• typedef



Adds the name and other properties to valueData in using the @param or @option tags.





  1. name {String}

    Provides the name of the type.

  2. [] {String}

    Indicates that the option or param is optional.

  3. (args...) {String}

    If name is a function, () provides the names of each argument.

  4. '...' {String}

    An argument is variable. The argument can be given 0 or more times.

  5. =default {String}

    =default provides the default value for the type. For example:

     * @param {Number} [age=0]


  • eventType The param is named "eventType".
  • [eventType] The param is optional.
  • [eventType="change"] The param is optional and has a default value of "change".
  • handler(foo,bar) The param is named "handler" and takes a foo and bar argument.