mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
28 lines
1.1 KiB
JavaScript
28 lines
1.1 KiB
JavaScript
/**
|
|
* This provides methods used for event handling. It's not meant to
|
|
* be used directly, except as a provider of related methods.
|
|
*
|
|
* @mixin
|
|
*/
|
|
var Eventful = {
|
|
/** fires something. */
|
|
fires: function () {},
|
|
/** handles a signal. */
|
|
on: function () {}
|
|
};
|
|
|
|
/**
|
|
* @constructor
|
|
* @mixes Eventful
|
|
*/
|
|
var FormButton = function() {
|
|
};
|
|
|
|
/** @mixin AnotherMixin*/
|
|
|
|
/** I mix in multiple things
|
|
* @constructor MyClass
|
|
* @mixes Eventful
|
|
* @mixes AnotherMixin */
|
|
|