all repos — simplyrpg @ b1d5daf21334d3da94abd04cb734a157b3b13fbe

Fork of https://github.com/harperd1/simplyRPG — multi-map VTT, token visibility, dark theme, stream HUD

libraries/EaselJS_docs/classes/MouseEvent.html (view raw)

   1<!DOCTYPE html>
   2<html lang="en">
   3<head>
   4    <meta charset="utf-8">
   5    <link rel="stylesheet" href="../assets/css/yui-cssgrids-min.css">
   6    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
   7    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
   8    <link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
   9    <script src="../assets/js/yui-source.js"></script>
  10	<title>EaselJS v1.0.0 API Documentation : MouseEvent</title>
  11</head>
  12<body class="yui3-skin-sam">
  13
  14<div id="doc">
  15    <div id="hd" class="yui3-g header">
  16        <div class="yui3-u-3-4">
  17            
  18                <h1><a href="http://www.createjs.com/easeljs"><img src="../assets/docs-icon-EaselJS.png" title="EaselJS"></a></h1>
  19            
  20        </div>
  21        <div class="version">
  22            <em>API Documentation for: 1.0.0</em>
  23        </div>
  24    </div>
  25    <div id="bd" class="yui3-g">
  26
  27        <div class="yui3-u-1-4">
  28            <div id="docs-sidebar" class="sidebar apidocs">
  29                <div id="api-list">
  30    <h2 class="off-left">APIs</h2>
  31    <div id="api-tabview" class="tabview">
  32        <ul class="tabs">
  33            <li><a href="#api-classes">Classes</a></li>
  34        </ul>
  35
  36        <div id="api-tabview-filter">
  37            <input type="search" id="api-filter" placeholder="Type to filter APIs">
  38        </div>
  39
  40        <div id="api-tabview-panel">
  41            <ul id="api-classes" class="apis classes">
  42            
  43                <li><a href="../classes/AlphaMapFilter.html">AlphaMapFilter</a></li>
  44            
  45                <li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
  46            
  47                <li><a href="../classes/Bitmap.html">Bitmap</a></li>
  48            
  49                <li><a href="../classes/BitmapCache.html">BitmapCache</a></li>
  50            
  51                <li><a href="../classes/BitmapText.html">BitmapText</a></li>
  52            
  53                <li><a href="../classes/BlurFilter.html">BlurFilter</a></li>
  54            
  55                <li><a href="../classes/ButtonHelper.html">ButtonHelper</a></li>
  56            
  57                <li><a href="../classes/ColorFilter.html">ColorFilter</a></li>
  58            
  59                <li><a href="../classes/ColorMatrix.html">ColorMatrix</a></li>
  60            
  61                <li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
  62            
  63                <li><a href="../classes/Container.html">Container</a></li>
  64            
  65                <li><a href="../classes/DisplayObject.html">DisplayObject</a></li>
  66            
  67                <li><a href="../classes/DisplayProps.html">DisplayProps</a></li>
  68            
  69                <li><a href="../classes/DOMElement.html">DOMElement</a></li>
  70            
  71                <li><a href="../classes/EaselJS.html">EaselJS</a></li>
  72            
  73                <li><a href="../classes/Event.html">Event</a></li>
  74            
  75                <li><a href="../classes/EventDispatcher.html">EventDispatcher</a></li>
  76            
  77                <li><a href="../classes/Filter.html">Filter</a></li>
  78            
  79                <li><a href="../classes/Graphics.html">Graphics</a></li>
  80            
  81                <li><a href="../classes/Graphics.Arc.html">Graphics.Arc</a></li>
  82            
  83                <li><a href="../classes/Graphics.ArcTo.html">Graphics.ArcTo</a></li>
  84            
  85                <li><a href="../classes/Graphics.BeginPath.html">Graphics.BeginPath</a></li>
  86            
  87                <li><a href="../classes/Graphics.BezierCurveTo.html">Graphics.BezierCurveTo</a></li>
  88            
  89                <li><a href="../classes/Graphics.Circle.html">Graphics.Circle</a></li>
  90            
  91                <li><a href="../classes/Graphics.ClosePath.html">Graphics.ClosePath</a></li>
  92            
  93                <li><a href="../classes/Graphics.Ellipse.html">Graphics.Ellipse</a></li>
  94            
  95                <li><a href="../classes/Graphics.Fill.html">Graphics.Fill</a></li>
  96            
  97                <li><a href="../classes/Graphics.LineTo.html">Graphics.LineTo</a></li>
  98            
  99                <li><a href="../classes/Graphics.MoveTo.html">Graphics.MoveTo</a></li>
 100            
 101                <li><a href="../classes/Graphics.PolyStar.html">Graphics.PolyStar</a></li>
 102            
 103                <li><a href="../classes/Graphics.QuadraticCurveTo.html">Graphics.QuadraticCurveTo</a></li>
 104            
 105                <li><a href="../classes/Graphics.Rect.html">Graphics.Rect</a></li>
 106            
 107                <li><a href="../classes/Graphics.RoundRect.html">Graphics.RoundRect</a></li>
 108            
 109                <li><a href="../classes/Graphics.Stroke.html">Graphics.Stroke</a></li>
 110            
 111                <li><a href="../classes/Graphics.StrokeDash.html">Graphics.StrokeDash</a></li>
 112            
 113                <li><a href="../classes/Graphics.StrokeStyle.html">Graphics.StrokeStyle</a></li>
 114            
 115                <li><a href="../classes/Matrix2D.html">Matrix2D</a></li>
 116            
 117                <li><a href="../classes/MouseEvent.html">MouseEvent</a></li>
 118            
 119                <li><a href="../classes/MovieClip.html">MovieClip</a></li>
 120            
 121                <li><a href="../classes/MovieClipPlugin.html">MovieClipPlugin</a></li>
 122            
 123                <li><a href="../classes/Point.html">Point</a></li>
 124            
 125                <li><a href="../classes/Rectangle.html">Rectangle</a></li>
 126            
 127                <li><a href="../classes/Shadow.html">Shadow</a></li>
 128            
 129                <li><a href="../classes/Shape.html">Shape</a></li>
 130            
 131                <li><a href="../classes/Sprite.html">Sprite</a></li>
 132            
 133                <li><a href="../classes/SpriteSheet.html">SpriteSheet</a></li>
 134            
 135                <li><a href="../classes/SpriteSheetBuilder.html">SpriteSheetBuilder</a></li>
 136            
 137                <li><a href="../classes/SpriteSheetUtils.html">SpriteSheetUtils</a></li>
 138            
 139                <li><a href="../classes/Stage.html">Stage</a></li>
 140            
 141                <li><a href="../classes/StageGL.html">StageGL</a></li>
 142            
 143                <li><a href="../classes/Text.html">Text</a></li>
 144            
 145                <li><a href="../classes/Ticker.html">Ticker</a></li>
 146            
 147                <li><a href="../classes/Touch.html">Touch</a></li>
 148            
 149                <li><a href="../classes/UID.html">UID</a></li>
 150            
 151                <li><a href="../classes/Utility Methods.html">Utility Methods</a></li>
 152            
 153                <li><a href="../classes/VideoBuffer.html">VideoBuffer</a></li>
 154            
 155                <li><a href="../classes/WebGLInspector.html">WebGLInspector</a></li>
 156            
 157            </ul>
 158
 159            <ul id="api-modules" class="apis modules">
 160            
 161                <li><a href="../modules/CreateJS.html">CreateJS</a></li>
 162            
 163                <li><a href="../modules/EaselJS.html">EaselJS</a></li>
 164            
 165            </ul>
 166        </div>
 167    </div>
 168</div>
 169
 170            </div>
 171        </div>
 172        <div class="yui3-u-3-4">
 173            <div id="api-options">
 174        Show:
 175        <label for="api-show-inherited">
 176            <input type="checkbox" id="api-show-inherited" checked>
 177            Inherited
 178        </label>
 179
 180        <label for="api-show-protected">
 181            <input type="checkbox" id="api-show-protected">
 182            Protected
 183        </label>
 184
 185        <label for="api-show-private">
 186            <input type="checkbox" id="api-show-private">
 187            Private
 188        </label>
 189        <label for="api-show-deprecated">
 190            <input type="checkbox" id="api-show-deprecated">
 191            Deprecated
 192        </label>
 193
 194    </div>
 195            <div class="apidocs">
 196                <div id="docs-main">
 197                    <div class="content">
 198                        <h1>MouseEvent Class</h1>
 199<div class="box meta">
 200    
 201
 202    
 203        <div class="extends">
 204            Extends <a href="../classes/Event.html" class="crosslink">Event</a>
 205        </div>
 206    
 207
 208    
 209        <div class="foundat">
 210            Defined in: <a href="../files/easeljs_events_MouseEvent.js.html#l41"><code>MouseEvent:41</code></a>
 211        </div>
 212    
 213
 214    
 215        
 216            Module: <a href="../modules/EaselJS.html">EaselJS</a>
 217        
 218    
 219
 220    
 221</div>
 222
 223
 224
 225<div class="box intro">
 226    <p>Passed as the parameter to all mouse/pointer/touch related events. For a listing of mouse events and their properties,
 227see the <a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a> and <a href="../classes/Stage.html" class="crosslink">Stage</a> event listings.</p>
 228
 229</div>
 230
 231
 232    <div class="constructor">
 233        <h2>Constructor</h2>
 234        <div id="method_MouseEvent" class="method item">
 235    <h3 class="name"><code>MouseEvent</code></h3>
 236
 237    
 238        <div class="args">
 239            <span class="paren">(</span><ul class="args-list inline commas">
 240            
 241                <li class="arg">
 242                    
 243                        <code>type</code>
 244                    
 245                </li>
 246            
 247                <li class="arg">
 248                    
 249                        <code>bubbles</code>
 250                    
 251                </li>
 252            
 253                <li class="arg">
 254                    
 255                        <code>cancelable</code>
 256                    
 257                </li>
 258            
 259                <li class="arg">
 260                    
 261                        <code>stageX</code>
 262                    
 263                </li>
 264            
 265                <li class="arg">
 266                    
 267                        <code>stageY</code>
 268                    
 269                </li>
 270            
 271                <li class="arg">
 272                    
 273                        <code>nativeEvent</code>
 274                    
 275                </li>
 276            
 277                <li class="arg">
 278                    
 279                        <code>pointerID</code>
 280                    
 281                </li>
 282            
 283                <li class="arg">
 284                    
 285                        <code>primary</code>
 286                    
 287                </li>
 288            
 289                <li class="arg">
 290                    
 291                        <code>rawX</code>
 292                    
 293                </li>
 294            
 295                <li class="arg">
 296                    
 297                        <code>rawY</code>
 298                    
 299                </li>
 300            
 301                <li class="arg">
 302                    
 303                        <code>relatedTarget</code>
 304                    
 305                </li>
 306            
 307            </ul><span class="paren">)</span>
 308        </div>
 309    
 310
 311    
 312
 313    
 314
 315    
 316
 317    
 318
 319    
 320
 321    
 322
 323    
 324
 325    <div class="meta">
 326        
 327            
 328                
 329                <p>
 330                
 331                Defined in
 332                
 333            
 334        
 335        
 336        <a href="../files/easeljs_events_MouseEvent.js.html#l41"><code>MouseEvent:41</code></a>
 337        
 338        </p>
 339
 340
 341        
 342
 343        
 344    </div>
 345
 346    <div class="description">
 347        
 348    </div>
 349
 350    
 351        <div class="params">
 352            <h4>Parameters:</h4>
 353
 354            <ul class="params-list">
 355            
 356                <li class="param">
 357                    
 358                        <code class="param-name">type</code>
 359                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
 360                    
 361
 362                    
 363
 364                    <div class="param-description">
 365                        <p>The event type.</p>
 366
 367                    </div>
 368
 369                    
 370                </li>
 371            
 372                <li class="param">
 373                    
 374                        <code class="param-name">bubbles</code>
 375                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
 376                    
 377
 378                    
 379
 380                    <div class="param-description">
 381                        <p>Indicates whether the event will bubble through the display list.</p>
 382
 383                    </div>
 384
 385                    
 386                </li>
 387            
 388                <li class="param">
 389                    
 390                        <code class="param-name">cancelable</code>
 391                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
 392                    
 393
 394                    
 395
 396                    <div class="param-description">
 397                        <p>Indicates whether the default behaviour of this event can be cancelled.</p>
 398
 399                    </div>
 400
 401                    
 402                </li>
 403            
 404                <li class="param">
 405                    
 406                        <code class="param-name">stageX</code>
 407                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 408                    
 409
 410                    
 411
 412                    <div class="param-description">
 413                        <p>The normalized x position relative to the stage.</p>
 414
 415                    </div>
 416
 417                    
 418                </li>
 419            
 420                <li class="param">
 421                    
 422                        <code class="param-name">stageY</code>
 423                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 424                    
 425
 426                    
 427
 428                    <div class="param-description">
 429                        <p>The normalized y position relative to the stage.</p>
 430
 431                    </div>
 432
 433                    
 434                </li>
 435            
 436                <li class="param">
 437                    
 438                        <code class="param-name">nativeEvent</code>
 439                        <span class="type"><a href="../classes/MouseEvent.html" class="crosslink">MouseEvent</a></span>
 440                    
 441
 442                    
 443
 444                    <div class="param-description">
 445                        <p>The native DOM event related to this mouse event.</p>
 446
 447                    </div>
 448
 449                    
 450                </li>
 451            
 452                <li class="param">
 453                    
 454                        <code class="param-name">pointerID</code>
 455                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 456                    
 457
 458                    
 459
 460                    <div class="param-description">
 461                        <p>The unique id for the pointer.</p>
 462
 463                    </div>
 464
 465                    
 466                </li>
 467            
 468                <li class="param">
 469                    
 470                        <code class="param-name">primary</code>
 471                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
 472                    
 473
 474                    
 475
 476                    <div class="param-description">
 477                        <p>Indicates whether this is the primary pointer in a multitouch environment.</p>
 478
 479                    </div>
 480
 481                    
 482                </li>
 483            
 484                <li class="param">
 485                    
 486                        <code class="param-name">rawX</code>
 487                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 488                    
 489
 490                    
 491
 492                    <div class="param-description">
 493                        <p>The raw x position relative to the stage.</p>
 494
 495                    </div>
 496
 497                    
 498                </li>
 499            
 500                <li class="param">
 501                    
 502                        <code class="param-name">rawY</code>
 503                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
 504                    
 505
 506                    
 507
 508                    <div class="param-description">
 509                        <p>The raw y position relative to the stage.</p>
 510
 511                    </div>
 512
 513                    
 514                </li>
 515            
 516                <li class="param">
 517                    
 518                        <code class="param-name">relatedTarget</code>
 519                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
 520                    
 521
 522                    
 523
 524                    <div class="param-description">
 525                        <p>The secondary target for the event.</p>
 526
 527                    </div>
 528
 529                    
 530                </li>
 531            
 532            </ul>
 533        </div>
 534    
 535
 536    
 537
 538    
 539</div>
 540
 541    </div>
 542
 543
 544<div id="classdocs" class="tabview">
 545    <ul class="api-class-tabs">
 546        <li class="api-class-tab index"><a href="#index">Index</a></li>
 547
 548        
 549            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
 550        
 551        
 552            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
 553        
 554        
 555        
 556    </ul>
 557
 558    <div>
 559        <div id="index" class="api-class-tabpanel index">
 560            <h2 class="off-left">Item Index</h2>
 561
 562            
 563                <div class="index-section methods">
 564                    <h3>Methods</h3>
 565
 566                    <ul class="index-list methods extends">
 567                        
 568                            <li class="index-item method inherited">
 569                                <a href="#method_clone">clone</a>
 570
 571                                
 572                                
 573                            </li>
 574                        
 575                            <li class="index-item method inherited">
 576                                <a href="#method_preventDefault">preventDefault</a>
 577
 578                                
 579                                
 580                            </li>
 581                        
 582                            <li class="index-item method inherited">
 583                                <a href="#method_remove">remove</a>
 584
 585                                
 586                                
 587                            </li>
 588                        
 589                            <li class="index-item method inherited">
 590                                <a href="#method_set">set</a>
 591
 592                                
 593                                
 594                            </li>
 595                        
 596                            <li class="index-item method inherited">
 597                                <a href="#method_stopImmediatePropagation">stopImmediatePropagation</a>
 598
 599                                
 600                                
 601                            </li>
 602                        
 603                            <li class="index-item method inherited">
 604                                <a href="#method_stopPropagation">stopPropagation</a>
 605
 606                                
 607                                
 608                            </li>
 609                        
 610                            <li class="index-item method inherited">
 611                                <a href="#method_toString">toString</a>
 612
 613                                
 614                                
 615                            </li>
 616                        
 617                    </ul>
 618                </div>
 619            
 620
 621            
 622                <div class="index-section properties">
 623                    <h3>Properties</h3>
 624
 625                    <ul class="index-list properties extends">
 626                        
 627                            <li class="index-item property inherited">
 628                                <a href="#property_bubbles">bubbles</a>
 629
 630                                
 631                                
 632                            </li>
 633                        
 634                            <li class="index-item property inherited">
 635                                <a href="#property_cancelable">cancelable</a>
 636
 637                                
 638                                
 639                            </li>
 640                        
 641                            <li class="index-item property inherited">
 642                                <a href="#property_currentTarget">currentTarget</a>
 643
 644                                
 645                                
 646                            </li>
 647                        
 648                            <li class="index-item property inherited">
 649                                <a href="#property_defaultPrevented">defaultPrevented</a>
 650
 651                                
 652                                
 653                            </li>
 654                        
 655                            <li class="index-item property inherited">
 656                                <a href="#property_eventPhase">eventPhase</a>
 657
 658                                
 659                                
 660                            </li>
 661                        
 662                            <li class="index-item property inherited">
 663                                <a href="#property_immediatePropagationStopped">immediatePropagationStopped</a>
 664
 665                                
 666                                
 667                            </li>
 668                        
 669                            <li class="index-item property">
 670                                <a href="#property_isTouch">isTouch</a>
 671
 672                                
 673                                
 674                            </li>
 675                        
 676                            <li class="index-item property">
 677                                <a href="#property_localX">localX</a>
 678
 679                                
 680                                
 681                            </li>
 682                        
 683                            <li class="index-item property">
 684                                <a href="#property_localY">localY</a>
 685
 686                                
 687                                
 688                            </li>
 689                        
 690                            <li class="index-item property">
 691                                <a href="#property_nativeEvent">nativeEvent</a>
 692
 693                                
 694                                
 695                            </li>
 696                        
 697                            <li class="index-item property">
 698                                <a href="#property_pointerID">pointerID</a>
 699
 700                                
 701                                
 702                            </li>
 703                        
 704                            <li class="index-item property">
 705                                <a href="#property_primary">primary</a>
 706
 707                                
 708                                
 709                            </li>
 710                        
 711                            <li class="index-item property inherited">
 712                                <a href="#property_propagationStopped">propagationStopped</a>
 713
 714                                
 715                                
 716                            </li>
 717                        
 718                            <li class="index-item property">
 719                                <a href="#property_rawX">rawX</a>
 720
 721                                
 722                                
 723                            </li>
 724                        
 725                            <li class="index-item property">
 726                                <a href="#property_rawY">rawY</a>
 727
 728                                
 729                                
 730                            </li>
 731                        
 732                            <li class="index-item property">
 733                                <a href="#property_relatedTarget">relatedTarget</a>
 734
 735                                
 736                                
 737                            </li>
 738                        
 739                            <li class="index-item property inherited">
 740                                <a href="#property_removed">removed</a>
 741
 742                                
 743                                
 744                            </li>
 745                        
 746                            <li class="index-item property">
 747                                <a href="#property_stageX">stageX</a>
 748
 749                                
 750                                
 751                            </li>
 752                        
 753                            <li class="index-item property">
 754                                <a href="#property_stageY">stageY</a>
 755
 756                                
 757                                
 758                            </li>
 759                        
 760                            <li class="index-item property inherited">
 761                                <a href="#property_target">target</a>
 762
 763                                
 764                                
 765                            </li>
 766                        
 767                            <li class="index-item property inherited">
 768                                <a href="#property_timeStamp">timeStamp</a>
 769
 770                                
 771                                
 772                            </li>
 773                        
 774                            <li class="index-item property inherited">
 775                                <a href="#property_type">type</a>
 776
 777                                
 778                                
 779                            </li>
 780                        
 781                    </ul>
 782                </div>
 783            
 784
 785            
 786
 787            
 788        </div>
 789
 790        
 791            <div id="methods" class="api-class-tabpanel">
 792                <h2 class="off-left">Methods</h2>
 793
 794                
 795                    <div id="method_clone" class="method item">
 796    <h3 class="name"><code>clone</code></h3>
 797
 798    
 799        <span class="paren">()</span>
 800    
 801
 802    
 803        <span class="returns-inline">
 804            <span class="type"><a href="../classes/MouseEvent.html" class="crosslink">MouseEvent</a></span>
 805        </span>
 806    
 807
 808    
 809
 810    
 811
 812    
 813
 814    
 815
 816    
 817
 818    
 819
 820    <div class="meta">
 821        
 822            <p>Inherited from
 823            <a href="../classes/Event.html#method_clone">
 824                Event
 825            </a>
 826            
 827            but overwritten in
 828            
 829        
 830        
 831        <a href="../files/easeljs_events_MouseEvent.js.html#l179"><code>clone:179</code></a>
 832        
 833        </p>
 834
 835
 836        
 837
 838        
 839    </div>
 840
 841    <div class="description">
 842        <p>Returns a clone of the MouseEvent instance.</p>
 843
 844    </div>
 845
 846    
 847
 848    
 849        <div class="returns">
 850            <h4>Returns:</h4>
 851
 852            <div class="returns-description">
 853                
 854                    
 855                        <span class="type"><a href="../classes/MouseEvent.html" class="crosslink">MouseEvent</a></span>:
 856                    
 857                    <p>a clone of the MouseEvent instance.</p>
 858
 859                
 860            </div>
 861        </div>
 862    
 863
 864    
 865</div>
 866
 867                
 868                    <div id="method_preventDefault" class="method item inherited">
 869    <h3 class="name"><code>preventDefault</code></h3>
 870
 871    
 872        <span class="paren">()</span>
 873    
 874
 875    
 876
 877    
 878
 879    
 880
 881    
 882
 883    
 884
 885    
 886
 887    
 888
 889    <div class="meta">
 890        
 891            
 892                <p>Inherited from
 893                <a href="../classes/Event.html#method_preventDefault">Event</a>:
 894            
 895        
 896        
 897        <a href="../files/createjs_events_Event.js.html#l175"><code>preventDefault:175</code></a>
 898        
 899        </p>
 900
 901
 902        
 903
 904        
 905    </div>
 906
 907    <div class="description">
 908        <p>Sets Event/defaultPrevented to true if the event is cancelable.
 909Mirrors the DOM level 2 event standard. In general, cancelable events that have <code>preventDefault()</code> called will
 910cancel the default behaviour associated with the event.</p>
 911
 912    </div>
 913
 914    
 915
 916    
 917
 918    
 919</div>
 920
 921                
 922                    <div id="method_remove" class="method item inherited">
 923    <h3 class="name"><code>remove</code></h3>
 924
 925    
 926        <span class="paren">()</span>
 927    
 928
 929    
 930
 931    
 932
 933    
 934
 935    
 936
 937    
 938
 939    
 940
 941    
 942
 943    <div class="meta">
 944        
 945            
 946                <p>Inherited from
 947                <a href="../classes/Event.html#method_remove">Event</a>:
 948            
 949        
 950        
 951        <a href="../files/createjs_events_Event.js.html#l204"><code>remove:204</code></a>
 952        
 953        </p>
 954
 955
 956        
 957
 958        
 959    </div>
 960
 961    <div class="description">
 962        <p><p>Causes the active listener to be removed via removeEventListener();</p></p>
 963<pre class="code prettyprint"><code>    myBtn.addEventListener("click", function(evt) {
 964        // do stuff...
 965        evt.remove(); // removes this listener.
 966    });</code></pre>
 967
 968    </div>
 969
 970    
 971
 972    
 973
 974    
 975</div>
 976
 977                
 978                    <div id="method_set" class="method item inherited">
 979    <h3 class="name"><code>set</code></h3>
 980
 981    
 982        <div class="args">
 983            <span class="paren">(</span><ul class="args-list inline commas">
 984            
 985                <li class="arg">
 986                    
 987                        <code>props</code>
 988                    
 989                </li>
 990            
 991            </ul><span class="paren">)</span>
 992        </div>
 993    
 994
 995    
 996        <span class="returns-inline">
 997            <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
 998        </span>
 999    
1000
1001    
1002
1003    
1004
1005    
1006
1007    
1008
1009    
1010        <span class="flag chainable">chainable</span>
1011    
1012
1013    
1014
1015    <div class="meta">
1016        
1017            
1018                <p>Inherited from
1019                <a href="../classes/Event.html#method_set">Event</a>:
1020            
1021        
1022        
1023        <a href="../files/createjs_events_Event.js.html#l227"><code>set:227</code></a>
1024        
1025        </p>
1026
1027
1028        
1029
1030        
1031    </div>
1032
1033    <div class="description">
1034        <p>Provides a chainable shortcut method for setting a number of properties on the instance.</p>
1035
1036    </div>
1037
1038    
1039        <div class="params">
1040            <h4>Parameters:</h4>
1041
1042            <ul class="params-list">
1043            
1044                <li class="param">
1045                    
1046                        <code class="param-name">props</code>
1047                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1048                    
1049
1050                    
1051
1052                    <div class="param-description">
1053                        <p>A generic object containing properties to copy to the instance.</p>
1054
1055                    </div>
1056
1057                    
1058                </li>
1059            
1060            </ul>
1061        </div>
1062    
1063
1064    
1065        <div class="returns">
1066            <h4>Returns:</h4>
1067
1068            <div class="returns-description">
1069                
1070                    
1071                        <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>:
1072                    
1073                    <p>Returns the instance the method is called on (useful for chaining calls.)</p>
1074
1075                
1076            </div>
1077        </div>
1078    
1079
1080    
1081</div>
1082
1083                
1084                    <div id="method_stopImmediatePropagation" class="method item inherited">
1085    <h3 class="name"><code>stopImmediatePropagation</code></h3>
1086
1087    
1088        <span class="paren">()</span>
1089    
1090
1091    
1092
1093    
1094
1095    
1096
1097    
1098
1099    
1100
1101    
1102
1103    
1104
1105    <div class="meta">
1106        
1107            
1108                <p>Inherited from
1109                <a href="../classes/Event.html#method_stopImmediatePropagation">Event</a>:
1110            
1111        
1112        
1113        <a href="../files/createjs_events_Event.js.html#l194"><code>stopImmediatePropagation:194</code></a>
1114        
1115        </p>
1116
1117
1118        
1119
1120        
1121    </div>
1122
1123    <div class="description">
1124        <p>Sets Event/propagationStopped and
1125Event/immediatePropagationStopped to true.
1126Mirrors the DOM event standard.</p>
1127
1128    </div>
1129
1130    
1131
1132    
1133
1134    
1135</div>
1136
1137                
1138                    <div id="method_stopPropagation" class="method item inherited">
1139    <h3 class="name"><code>stopPropagation</code></h3>
1140
1141    
1142        <span class="paren">()</span>
1143    
1144
1145    
1146
1147    
1148
1149    
1150
1151    
1152
1153    
1154
1155    
1156
1157    
1158
1159    <div class="meta">
1160        
1161            
1162                <p>Inherited from
1163                <a href="../classes/Event.html#method_stopPropagation">Event</a>:
1164            
1165        
1166        
1167        <a href="../files/createjs_events_Event.js.html#l185"><code>stopPropagation:185</code></a>
1168        
1169        </p>
1170
1171
1172        
1173
1174        
1175    </div>
1176
1177    <div class="description">
1178        <p>Sets Event/propagationStopped to true.
1179Mirrors the DOM event standard.</p>
1180
1181    </div>
1182
1183    
1184
1185    
1186
1187    
1188</div>
1189
1190                
1191                    <div id="method_toString" class="method item">
1192    <h3 class="name"><code>toString</code></h3>
1193
1194    
1195        <span class="paren">()</span>
1196    
1197
1198    
1199        <span class="returns-inline">
1200            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
1201        </span>
1202    
1203
1204    
1205
1206    
1207
1208    
1209
1210    
1211
1212    
1213
1214    
1215
1216    <div class="meta">
1217        
1218            <p>Inherited from
1219            <a href="../classes/Event.html#method_toString">
1220                Event
1221            </a>
1222            
1223            but overwritten in
1224            
1225        
1226        
1227        <a href="../files/easeljs_events_MouseEvent.js.html#l188"><code>toString:188</code></a>
1228        
1229        </p>
1230
1231
1232        
1233
1234        
1235    </div>
1236
1237    <div class="description">
1238        <p>Returns a string representation of this object.</p>
1239
1240    </div>
1241
1242    
1243
1244    
1245        <div class="returns">
1246            <h4>Returns:</h4>
1247
1248            <div class="returns-description">
1249                
1250                    
1251                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
1252                    
1253                    <p>a string representation of the instance.</p>
1254
1255                
1256            </div>
1257        </div>
1258    
1259
1260    
1261</div>
1262
1263                
1264            </div>
1265        
1266
1267        
1268            <div id="properties" class="api-class-tabpanel">
1269                <h2 class="off-left">Properties</h2>
1270
1271                
1272                    <div id="property_bubbles" class="property item inherited">
1273    <h3 class="name"><code>bubbles</code></h3>
1274    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1275
1276    
1277
1278    
1279
1280    
1281
1282    
1283
1284    
1285        <span class="flag readonly">readonly</span>
1286    
1287
1288    <div class="meta">
1289        
1290            
1291                <p>Inherited from
1292                <a href="../classes/Event.html#property_bubbles">Event</a>:
1293            
1294        
1295        
1296        <a href="../files/createjs_events_Event.js.html#l105"><code>bubbles:105</code></a>
1297        
1298        </p>
1299
1300        
1301
1302        
1303    </div>
1304
1305    <div class="description">
1306        <p>Indicates whether the event will bubble through the display list.</p>
1307
1308    </div>
1309
1310    
1311        <p><strong>Default:</strong> false</p>
1312    
1313
1314    
1315
1316    
1317</div>
1318
1319                
1320                    <div id="property_cancelable" class="property item inherited">
1321    <h3 class="name"><code>cancelable</code></h3>
1322    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1323
1324    
1325
1326    
1327
1328    
1329
1330    
1331
1332    
1333        <span class="flag readonly">readonly</span>
1334    
1335
1336    <div class="meta">
1337        
1338            
1339                <p>Inherited from
1340                <a href="../classes/Event.html#property_cancelable">Event</a>:
1341            
1342        
1343        
1344        <a href="../files/createjs_events_Event.js.html#l114"><code>cancelable:114</code></a>
1345        
1346        </p>
1347
1348        
1349
1350        
1351    </div>
1352
1353    <div class="description">
1354        <p>Indicates whether the default behaviour of this event can be cancelled via
1355<a href="../classes/Event.html#method_preventDefault" class="crosslink">preventDefault</a>. This is set via the Event constructor.</p>
1356
1357    </div>
1358
1359    
1360        <p><strong>Default:</strong> false</p>
1361    
1362
1363    
1364
1365    
1366</div>
1367
1368                
1369                    <div id="property_currentTarget" class="property item inherited">
1370    <h3 class="name"><code>currentTarget</code></h3>
1371    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1372
1373    
1374
1375    
1376
1377    
1378
1379    
1380
1381    
1382        <span class="flag readonly">readonly</span>
1383    
1384
1385    <div class="meta">
1386        
1387            
1388                <p>Inherited from
1389                <a href="../classes/Event.html#property_currentTarget">Event</a>:
1390            
1391        
1392        
1393        <a href="../files/createjs_events_Event.js.html#l80"><code>currentTarget:80</code></a>
1394        
1395        </p>
1396
1397        
1398
1399        
1400    </div>
1401
1402    <div class="description">
1403        <p>The current target that a bubbling event is being dispatched from. For non-bubbling events, this will
1404always be the same as target. For example, if childObj.parent = parentObj, and a bubbling event
1405is generated from childObj, then a listener on parentObj would receive the event with
1406target=childObj (the original target) and currentTarget=parentObj (where the listener was added).</p>
1407
1408    </div>
1409
1410    
1411        <p><strong>Default:</strong> null</p>
1412    
1413
1414    
1415
1416    
1417</div>
1418
1419                
1420                    <div id="property_defaultPrevented" class="property item inherited">
1421    <h3 class="name"><code>defaultPrevented</code></h3>
1422    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1423
1424    
1425
1426    
1427
1428    
1429
1430    
1431
1432    
1433        <span class="flag readonly">readonly</span>
1434    
1435
1436    <div class="meta">
1437        
1438            
1439                <p>Inherited from
1440                <a href="../classes/Event.html#property_defaultPrevented">Event</a>:
1441            
1442        
1443        
1444        <a href="../files/createjs_events_Event.js.html#l133"><code>defaultPrevented:133</code></a>
1445        
1446        </p>
1447
1448        
1449
1450        
1451    </div>
1452
1453    <div class="description">
1454        <p>Indicates if <a href="../classes/Event.html#method_preventDefault" class="crosslink">preventDefault</a> has been called
1455on this event.</p>
1456
1457    </div>
1458
1459    
1460        <p><strong>Default:</strong> false</p>
1461    
1462
1463    
1464
1465    
1466</div>
1467
1468                
1469                    <div id="property_eventPhase" class="property item inherited">
1470    <h3 class="name"><code>eventPhase</code></h3>
1471    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1472
1473    
1474
1475    
1476
1477    
1478
1479    
1480
1481    
1482        <span class="flag readonly">readonly</span>
1483    
1484
1485    <div class="meta">
1486        
1487            
1488                <p>Inherited from
1489                <a href="../classes/Event.html#property_eventPhase">Event</a>:
1490            
1491        
1492        
1493        <a href="../files/createjs_events_Event.js.html#l92"><code>eventPhase:92</code></a>
1494        
1495        </p>
1496
1497        
1498
1499        
1500    </div>
1501
1502    <div class="description">
1503        <p>For bubbling events, this indicates the current event phase:<OL>
1504    <LI> capture phase: starting from the top parent to the target</LI>
1505    <LI> at target phase: currently being dispatched from the target</LI>
1506    <LI> bubbling phase: from the target to the top parent</LI>
1507</OL></p>
1508
1509    </div>
1510
1511    
1512        <p><strong>Default:</strong> 0</p>
1513    
1514
1515    
1516
1517    
1518</div>
1519
1520                
1521                    <div id="property_immediatePropagationStopped" class="property item inherited">
1522    <h3 class="name"><code>immediatePropagationStopped</code></h3>
1523    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1524
1525    
1526
1527    
1528
1529    
1530
1531    
1532
1533    
1534        <span class="flag readonly">readonly</span>
1535    
1536
1537    <div class="meta">
1538        
1539            
1540                <p>Inherited from
1541                <a href="../classes/Event.html#property_immediatePropagationStopped">Event</a>:
1542            
1543        
1544        
1545        <a href="../files/createjs_events_Event.js.html#l153"><code>immediatePropagationStopped:153</code></a>
1546        
1547        </p>
1548
1549        
1550
1551        
1552    </div>
1553
1554    <div class="description">
1555        <p>Indicates if <a href="../classes/Event.html#method_stopImmediatePropagation" class="crosslink">stopImmediatePropagation</a> has been called
1556on this event.</p>
1557
1558    </div>
1559
1560    
1561        <p><strong>Default:</strong> false</p>
1562    
1563
1564    
1565
1566    
1567</div>
1568
1569                
1570                    <div id="property_isTouch" class="property item">
1571    <h3 class="name"><code>isTouch</code></h3>
1572    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1573
1574    
1575
1576    
1577
1578    
1579
1580    
1581
1582    
1583        <span class="flag readonly">readonly</span>
1584    
1585
1586    <div class="meta">
1587        
1588            
1589                
1590                <p>
1591                
1592                Defined in
1593                
1594            
1595        
1596        
1597        <a href="../files/easeljs_events_MouseEvent.js.html#l158"><code>isTouch:158</code></a>
1598        
1599        </p>
1600
1601        
1602
1603        
1604    </div>
1605
1606    <div class="description">
1607        <p>Indicates whether the event was generated by a touch input (versus a mouse input).</p>
1608
1609    </div>
1610
1611    
1612
1613    
1614
1615    
1616</div>
1617
1618                
1619                    <div id="property_localX" class="property item">
1620    <h3 class="name"><code>localX</code></h3>
1621    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1622
1623    
1624
1625    
1626
1627    
1628
1629    
1630
1631    
1632        <span class="flag readonly">readonly</span>
1633    
1634
1635    <div class="meta">
1636        
1637            
1638                
1639                <p>
1640                
1641                Defined in
1642                
1643            
1644        
1645        
1646        <a href="../files/easeljs_events_MouseEvent.js.html#l138"><code>localX:138</code></a>
1647        
1648        </p>
1649
1650        
1651
1652        
1653    </div>
1654
1655    <div class="description">
1656        <p>Returns the x position of the mouse in the local coordinate system of the current target (ie. the dispatcher).</p>
1657
1658    </div>
1659
1660    
1661
1662    
1663
1664    
1665</div>
1666
1667                
1668                    <div id="property_localY" class="property item">
1669    <h3 class="name"><code>localY</code></h3>
1670    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1671
1672    
1673
1674    
1675
1676    
1677
1678    
1679
1680    
1681        <span class="flag readonly">readonly</span>
1682    
1683
1684    <div class="meta">
1685        
1686            
1687                
1688                <p>
1689                
1690                Defined in
1691                
1692            
1693        
1694        
1695        <a href="../files/easeljs_events_MouseEvent.js.html#l148"><code>localY:148</code></a>
1696        
1697        </p>
1698
1699        
1700
1701        
1702    </div>
1703
1704    <div class="description">
1705        <p>Returns the y position of the mouse in the local coordinate system of the current target (ie. the dispatcher).</p>
1706
1707    </div>
1708
1709    
1710
1711    
1712
1713    
1714</div>
1715
1716                
1717                    <div id="property_nativeEvent" class="property item">
1718    <h3 class="name"><code>nativeEvent</code></h3>
1719    <span class="type">HtmlMouseEvent</span>
1720
1721    
1722
1723    
1724
1725    
1726
1727    
1728
1729    
1730
1731    <div class="meta">
1732        
1733            
1734                
1735                <p>
1736                
1737                Defined in
1738                
1739            
1740        
1741        
1742        <a href="../files/easeljs_events_MouseEvent.js.html#l94"><code>nativeEvent:94</code></a>
1743        
1744        </p>
1745
1746        
1747
1748        
1749    </div>
1750
1751    <div class="description">
1752        <p>The native MouseEvent generated by the browser. The properties and API for this
1753event may differ between browsers. This property will be null if the
1754EaselJS property was not directly generated from a native MouseEvent.</p>
1755
1756    </div>
1757
1758    
1759        <p><strong>Default:</strong> null</p>
1760    
1761
1762    
1763
1764    
1765</div>
1766
1767                
1768                    <div id="property_pointerID" class="property item">
1769    <h3 class="name"><code>pointerID</code></h3>
1770    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1771
1772    
1773
1774    
1775
1776    
1777
1778    
1779
1780    
1781
1782    <div class="meta">
1783        
1784            
1785                
1786                <p>
1787                
1788                Defined in
1789                
1790            
1791        
1792        
1793        <a href="../files/easeljs_events_MouseEvent.js.html#l104"><code>pointerID:104</code></a>
1794        
1795        </p>
1796
1797        
1798
1799        
1800    </div>
1801
1802    <div class="description">
1803        <p>The unique id for the pointer (touch point or cursor). This will be either -1 for the mouse, or the system
1804supplied id value.</p>
1805
1806    </div>
1807
1808    
1809
1810    
1811
1812    
1813</div>
1814
1815                
1816                    <div id="property_primary" class="property item">
1817    <h3 class="name"><code>primary</code></h3>
1818    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1819
1820    
1821
1822    
1823
1824    
1825
1826    
1827
1828    
1829
1830    <div class="meta">
1831        
1832            
1833                
1834                <p>
1835                
1836                Defined in
1837                
1838            
1839        
1840        
1841        <a href="../files/easeljs_events_MouseEvent.js.html#l112"><code>primary:112</code></a>
1842        
1843        </p>
1844
1845        
1846
1847        
1848    </div>
1849
1850    <div class="description">
1851        <p>Indicates whether this is the primary pointer in a multitouch environment. This will always be true for the mouse.
1852For touch pointers, the first pointer in the current stack will be considered the primary pointer.</p>
1853
1854    </div>
1855
1856    
1857
1858    
1859
1860    
1861</div>
1862
1863                
1864                    <div id="property_propagationStopped" class="property item inherited">
1865    <h3 class="name"><code>propagationStopped</code></h3>
1866    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1867
1868    
1869
1870    
1871
1872    
1873
1874    
1875
1876    
1877        <span class="flag readonly">readonly</span>
1878    
1879
1880    <div class="meta">
1881        
1882            
1883                <p>Inherited from
1884                <a href="../classes/Event.html#property_propagationStopped">Event</a>:
1885            
1886        
1887        
1888        <a href="../files/createjs_events_Event.js.html#l143"><code>propagationStopped:143</code></a>
1889        
1890        </p>
1891
1892        
1893
1894        
1895    </div>
1896
1897    <div class="description">
1898        <p>Indicates if <a href="../classes/Event.html#method_stopPropagation" class="crosslink">stopPropagation</a> or
1899<a href="../classes/Event.html#method_stopImmediatePropagation" class="crosslink">stopImmediatePropagation</a> has been called on this event.</p>
1900
1901    </div>
1902
1903    
1904        <p><strong>Default:</strong> false</p>
1905    
1906
1907    
1908
1909    
1910</div>
1911
1912                
1913                    <div id="property_rawX" class="property item">
1914    <h3 class="name"><code>rawX</code></h3>
1915    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1916
1917    
1918
1919    
1920
1921    
1922
1923    
1924
1925    
1926
1927    <div class="meta">
1928        
1929            
1930                
1931                <p>
1932                
1933                Defined in
1934                
1935            
1936        
1937        
1938        <a href="../files/easeljs_events_MouseEvent.js.html#l78"><code>rawX:78</code></a>
1939        
1940        </p>
1941
1942        
1943
1944        
1945    </div>
1946
1947    <div class="description">
1948        <p>The raw x position relative to the stage. Normally this will be the same as the stageX value, unless
1949stage.mouseMoveOutside is true and the pointer is outside of the stage bounds.</p>
1950
1951    </div>
1952
1953    
1954
1955    
1956
1957    
1958</div>
1959
1960                
1961                    <div id="property_rawY" class="property item">
1962    <h3 class="name"><code>rawY</code></h3>
1963    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1964
1965    
1966
1967    
1968
1969    
1970
1971    
1972
1973    
1974
1975    <div class="meta">
1976        
1977            
1978                
1979                <p>
1980                
1981                Defined in
1982                
1983            
1984        
1985        
1986        <a href="../files/easeljs_events_MouseEvent.js.html#l86"><code>rawY:86</code></a>
1987        
1988        </p>
1989
1990        
1991
1992        
1993    </div>
1994
1995    <div class="description">
1996        <p>The raw y position relative to the stage. Normally this will be the same as the stageY value, unless
1997stage.mouseMoveOutside is true and the pointer is outside of the stage bounds.</p>
1998
1999    </div>
2000
2001    
2002
2003    
2004
2005    
2006</div>
2007
2008                
2009                    <div id="property_relatedTarget" class="property item">
2010    <h3 class="name"><code>relatedTarget</code></h3>
2011    <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
2012
2013    
2014
2015    
2016
2017    
2018
2019    
2020
2021    
2022
2023    <div class="meta">
2024        
2025            
2026                
2027                <p>
2028                
2029                Defined in
2030                
2031            
2032        
2033        
2034        <a href="../files/easeljs_events_MouseEvent.js.html#l120"><code>relatedTarget:120</code></a>
2035        
2036        </p>
2037
2038        
2039
2040        
2041    </div>
2042
2043    <div class="description">
2044        <p>The secondary target for the event, if applicable. This is used for mouseout/rollout
2045events to indicate the object that the mouse entered from, mouseover/rollover for the object the mouse exited,
2046and stagemousedown/stagemouseup events for the object that was the under the cursor, if any.</p>
2047<p>Only valid interaction targets will be returned (ie. objects with mouse listeners or a cursor set).</p>
2048
2049    </div>
2050
2051    
2052
2053    
2054
2055    
2056</div>
2057
2058                
2059                    <div id="property_removed" class="property item inherited">
2060    <h3 class="name"><code>removed</code></h3>
2061    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2062
2063    
2064
2065    
2066
2067    
2068
2069    
2070
2071    
2072        <span class="flag readonly">readonly</span>
2073    
2074
2075    <div class="meta">
2076        
2077            
2078                <p>Inherited from
2079                <a href="../classes/Event.html#property_removed">Event</a>:
2080            
2081        
2082        
2083        <a href="../files/createjs_events_Event.js.html#l163"><code>removed:163</code></a>
2084        
2085        </p>
2086
2087        
2088
2089        
2090    </div>
2091
2092    <div class="description">
2093        <p>Indicates if <a href="../classes/Event.html#method_remove" class="crosslink">remove</a> has been called on this event.</p>
2094
2095    </div>
2096
2097    
2098        <p><strong>Default:</strong> false</p>
2099    
2100
2101    
2102
2103    
2104</div>
2105
2106                
2107                    <div id="property_stageX" class="property item">
2108    <h3 class="name"><code>stageX</code></h3>
2109    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
2110
2111    
2112
2113    
2114
2115    
2116
2117    
2118
2119    
2120
2121    <div class="meta">
2122        
2123            
2124                
2125                <p>
2126                
2127                Defined in
2128                
2129            
2130        
2131        
2132        <a href="../files/easeljs_events_MouseEvent.js.html#l64"><code>stageX:64</code></a>
2133        
2134        </p>
2135
2136        
2137
2138        
2139    </div>
2140
2141    <div class="description">
2142        <p>The normalized x position on the stage. This will always be within the range 0 to stage width.</p>
2143
2144    </div>
2145
2146    
2147
2148    
2149
2150    
2151</div>
2152
2153                
2154                    <div id="property_stageY" class="property item">
2155    <h3 class="name"><code>stageY</code></h3>
2156    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
2157
2158    
2159
2160    
2161
2162    
2163
2164    
2165
2166    
2167
2168    <div class="meta">
2169        
2170            
2171                
2172                <p>
2173                
2174                Defined in
2175                
2176            
2177        
2178        
2179        <a href="../files/easeljs_events_MouseEvent.js.html#l71"><code>stageY:71</code></a>
2180        
2181        </p>
2182
2183        
2184
2185        
2186    </div>
2187
2188    <div class="description">
2189        <p>The normalized y position on the stage. This will always be within the range 0 to stage height.</p>
2190
2191    </div>
2192
2193    
2194
2195    
2196
2197    
2198</div>
2199
2200                
2201                    <div id="property_target" class="property item inherited">
2202    <h3 class="name"><code>target</code></h3>
2203    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2204
2205    
2206
2207    
2208
2209    
2210
2211    
2212
2213    
2214        <span class="flag readonly">readonly</span>
2215    
2216
2217    <div class="meta">
2218        
2219            
2220                <p>Inherited from
2221                <a href="../classes/Event.html#property_target">Event</a>:
2222            
2223        
2224        
2225        <a href="../files/createjs_events_Event.js.html#l71"><code>target:71</code></a>
2226        
2227        </p>
2228
2229        
2230
2231        
2232    </div>
2233
2234    <div class="description">
2235        <p>The object that generated an event.</p>
2236
2237    </div>
2238
2239    
2240        <p><strong>Default:</strong> null</p>
2241    
2242
2243    
2244
2245    
2246</div>
2247
2248                
2249                    <div id="property_timeStamp" class="property item inherited">
2250    <h3 class="name"><code>timeStamp</code></h3>
2251    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
2252
2253    
2254
2255    
2256
2257    
2258
2259    
2260
2261    
2262        <span class="flag readonly">readonly</span>
2263    
2264
2265    <div class="meta">
2266        
2267            
2268                <p>Inherited from
2269                <a href="../classes/Event.html#property_timeStamp">Event</a>:
2270            
2271        
2272        
2273        <a href="../files/createjs_events_Event.js.html#l124"><code>timeStamp:124</code></a>
2274        
2275        </p>
2276
2277        
2278
2279        
2280    </div>
2281
2282    <div class="description">
2283        <p>The epoch time at which this event was created.</p>
2284
2285    </div>
2286
2287    
2288        <p><strong>Default:</strong> 0</p>
2289    
2290
2291    
2292
2293    
2294</div>
2295
2296                
2297                    <div id="property_type" class="property item inherited">
2298    <h3 class="name"><code>type</code></h3>
2299    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
2300
2301    
2302
2303    
2304
2305    
2306
2307    
2308
2309    
2310
2311    <div class="meta">
2312        
2313            
2314                <p>Inherited from
2315                <a href="../classes/Event.html#property_type">Event</a>:
2316            
2317        
2318        
2319        <a href="../files/createjs_events_Event.js.html#l64"><code>type:64</code></a>
2320        
2321        </p>
2322
2323        
2324
2325        
2326    </div>
2327
2328    <div class="description">
2329        <p>The type of event.</p>
2330
2331    </div>
2332
2333    
2334
2335    
2336
2337    
2338</div>
2339
2340                
2341            </div>
2342        
2343
2344        
2345
2346        
2347    </div>
2348</div>
2349
2350                    </div>
2351                </div>
2352            </div>
2353        </div>
2354    </div>
2355</div>
2356<script src="../assets/vendor/prettify/prettify-min.js"></script>
2357<script>prettyPrint();</script>
2358<script src="../assets/js/yui-prettify.js"></script>
2359<script src="../assets/../api.js"></script>
2360<script src="../assets/js/api-filter.js"></script>
2361<script src="../assets/js/api-list.js"></script>
2362<script src="../assets/js/api-search.js"></script>
2363<script src="../assets/js/apidocs.js"></script>
2364</body>
2365</html>