diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index a37c5bf..def3434 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -10,6 +10,7 @@ * * @class * @extends EventEmitter + * @mixes PIXI.interaction.interactiveTarget * @memberof PIXI */ function DisplayObject() diff --git a/src/core/display/DisplayObject.js b/src/core/display/DisplayObject.js index a37c5bf..def3434 100644 --- a/src/core/display/DisplayObject.js +++ b/src/core/display/DisplayObject.js @@ -10,6 +10,7 @@ * * @class * @extends EventEmitter + * @mixes PIXI.interaction.interactiveTarget * @memberof PIXI */ function DisplayObject() diff --git a/src/interaction/interactiveTarget.js b/src/interaction/interactiveTarget.js index fa0e383..726e71b 100644 --- a/src/interaction/interactiveTarget.js +++ b/src/interaction/interactiveTarget.js @@ -1,6 +1,6 @@ /** * Default property values of interactive objects - * used by {@link PIXI.interaction.InteractionManager}. + * Used by {@link PIXI.interaction.InteractionManager} to automatically give all DisplayObjects these properties * * @mixin * @memberof PIXI.interaction @@ -16,7 +16,7 @@ /** * Determines if the displayObject be clicked/touched * - * @member {boolean} + * @inner {boolean} */ interactive: false, @@ -24,21 +24,21 @@ * Determines if the children to the displayObject can be clicked/touched * Setting this to false allows pixi to bypass a recursive hitTest function * - * @member {boolean} + * @inner {boolean} */ interactiveChildren: true, /** * Interaction shape. Children will be hit first, then this shape will be checked. * - * @member {PIXI.Rectangle|PIXI.Circle|PIXI.Ellipse|PIXI.Polygon|PIXI.RoundedRectangle} + * @inner {PIXI.Rectangle|PIXI.Circle|PIXI.Ellipse|PIXI.Polygon|PIXI.RoundedRectangle} */ hitArea: null, /** * If enabled, the mouse cursor will change when hovered over the displayObject if it is interactive * - * @member {boolean} + * @inner {boolean} */ buttonMode: false, @@ -46,7 +46,7 @@ * If buttonMode is enabled, this defines what CSS cursor property is used when the mouse cursor is hovered over the displayObject * https://developer.mozilla.org/en/docs/Web/CSS/cursor * - * @member {string} + * @inner {string} */ defaultCursor: 'pointer', @@ -54,7 +54,7 @@ /** * Internal check to detect if the mouse cursor is hovered over the displayObject * - * @member {boolean} + * @inner {boolean} * @private */ _over: false, @@ -62,7 +62,7 @@ /** * Internal check to detect if the left mouse button is pressed on the displayObject * - * @member {boolean} + * @inner {boolean} * @private */ _isLeftDown: false, @@ -70,7 +70,7 @@ /** * Internal check to detect if the right mouse button is pressed on the displayObject * - * @member {boolean} + * @inner {boolean} * @private */ _isRightDown: false, @@ -78,7 +78,7 @@ /** * Internal check to detect if a user has touched the displayObject * - * @member {boolean} + * @inner {boolean} * @private */ _touchDown: false