all repos — simplyrpg @ 7b6d888ad1be8f0a76eb81aea89360ce46b72947

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

libraries/EaselJS_docs/classes/Event.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 : Event</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>Event Class</h1>
 199<div class="box meta">
 200    
 201
 202    
 203
 204    
 205        <div class="foundat">
 206            Defined in: <a href="../files/createjs_events_Event.js.html#l48"><code>Event:48</code></a>
 207        </div>
 208    
 209
 210    
 211        
 212            Module: <a href="../modules/CreateJS.html">CreateJS</a>
 213        
 214    
 215
 216    
 217</div>
 218
 219
 220
 221<div class="box intro">
 222    <p>Contains properties and methods shared by all events for use with
 223<a href="../classes/EventDispatcher.html" class="crosslink">EventDispatcher</a>.</p>
 224<p>Note that Event objects are often reused, so you should never
 225rely on an event object&#39;s state outside of the call stack it was received in.</p>
 226
 227</div>
 228
 229
 230    <div class="constructor">
 231        <h2>Constructor</h2>
 232        <div id="method_Event" class="method item">
 233    <h3 class="name"><code>Event</code></h3>
 234
 235    
 236        <div class="args">
 237            <span class="paren">(</span><ul class="args-list inline commas">
 238            
 239                <li class="arg">
 240                    
 241                        <code>type</code>
 242                    
 243                </li>
 244            
 245                <li class="arg">
 246                    
 247                        <code>bubbles</code>
 248                    
 249                </li>
 250            
 251                <li class="arg">
 252                    
 253                        <code>cancelable</code>
 254                    
 255                </li>
 256            
 257            </ul><span class="paren">)</span>
 258        </div>
 259    
 260
 261    
 262
 263    
 264
 265    
 266
 267    
 268
 269    
 270
 271    
 272
 273    
 274
 275    <div class="meta">
 276        
 277            
 278                
 279                <p>
 280                
 281                Defined in
 282                
 283            
 284        
 285        
 286        <a href="../files/createjs_events_Event.js.html#l48"><code>Event:48</code></a>
 287        
 288        </p>
 289
 290
 291        
 292
 293        
 294    </div>
 295
 296    <div class="description">
 297        
 298    </div>
 299
 300    
 301        <div class="params">
 302            <h4>Parameters:</h4>
 303
 304            <ul class="params-list">
 305            
 306                <li class="param">
 307                    
 308                        <code class="param-name">type</code>
 309                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
 310                    
 311
 312                    
 313
 314                    <div class="param-description">
 315                        <p>The event type.</p>
 316
 317                    </div>
 318
 319                    
 320                </li>
 321            
 322                <li class="param">
 323                    
 324                        <code class="param-name">bubbles</code>
 325                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
 326                    
 327
 328                    
 329
 330                    <div class="param-description">
 331                        <p>Indicates whether the event will bubble through the display list.</p>
 332
 333                    </div>
 334
 335                    
 336                </li>
 337            
 338                <li class="param">
 339                    
 340                        <code class="param-name">cancelable</code>
 341                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
 342                    
 343
 344                    
 345
 346                    <div class="param-description">
 347                        <p>Indicates whether the default behaviour of this event can be cancelled.</p>
 348
 349                    </div>
 350
 351                    
 352                </li>
 353            
 354            </ul>
 355        </div>
 356    
 357
 358    
 359
 360    
 361</div>
 362
 363    </div>
 364
 365
 366<div id="classdocs" class="tabview">
 367    <ul class="api-class-tabs">
 368        <li class="api-class-tab index"><a href="#index">Index</a></li>
 369
 370        
 371            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
 372        
 373        
 374            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
 375        
 376        
 377        
 378    </ul>
 379
 380    <div>
 381        <div id="index" class="api-class-tabpanel index">
 382            <h2 class="off-left">Item Index</h2>
 383
 384            
 385                <div class="index-section methods">
 386                    <h3>Methods</h3>
 387
 388                    <ul class="index-list methods">
 389                        
 390                            <li class="index-item method">
 391                                <a href="#method_clone">clone</a>
 392
 393                                
 394                                
 395                            </li>
 396                        
 397                            <li class="index-item method">
 398                                <a href="#method_preventDefault">preventDefault</a>
 399
 400                                
 401                                
 402                            </li>
 403                        
 404                            <li class="index-item method">
 405                                <a href="#method_remove">remove</a>
 406
 407                                
 408                                
 409                            </li>
 410                        
 411                            <li class="index-item method">
 412                                <a href="#method_set">set</a>
 413
 414                                
 415                                
 416                            </li>
 417                        
 418                            <li class="index-item method">
 419                                <a href="#method_stopImmediatePropagation">stopImmediatePropagation</a>
 420
 421                                
 422                                
 423                            </li>
 424                        
 425                            <li class="index-item method">
 426                                <a href="#method_stopPropagation">stopPropagation</a>
 427
 428                                
 429                                
 430                            </li>
 431                        
 432                            <li class="index-item method">
 433                                <a href="#method_toString">toString</a>
 434
 435                                
 436                                
 437                            </li>
 438                        
 439                    </ul>
 440                </div>
 441            
 442
 443            
 444                <div class="index-section properties">
 445                    <h3>Properties</h3>
 446
 447                    <ul class="index-list properties">
 448                        
 449                            <li class="index-item property">
 450                                <a href="#property_bubbles">bubbles</a>
 451
 452                                
 453                                
 454                            </li>
 455                        
 456                            <li class="index-item property">
 457                                <a href="#property_cancelable">cancelable</a>
 458
 459                                
 460                                
 461                            </li>
 462                        
 463                            <li class="index-item property">
 464                                <a href="#property_currentTarget">currentTarget</a>
 465
 466                                
 467                                
 468                            </li>
 469                        
 470                            <li class="index-item property">
 471                                <a href="#property_defaultPrevented">defaultPrevented</a>
 472
 473                                
 474                                
 475                            </li>
 476                        
 477                            <li class="index-item property">
 478                                <a href="#property_eventPhase">eventPhase</a>
 479
 480                                
 481                                
 482                            </li>
 483                        
 484                            <li class="index-item property">
 485                                <a href="#property_immediatePropagationStopped">immediatePropagationStopped</a>
 486
 487                                
 488                                
 489                            </li>
 490                        
 491                            <li class="index-item property">
 492                                <a href="#property_propagationStopped">propagationStopped</a>
 493
 494                                
 495                                
 496                            </li>
 497                        
 498                            <li class="index-item property">
 499                                <a href="#property_removed">removed</a>
 500
 501                                
 502                                
 503                            </li>
 504                        
 505                            <li class="index-item property">
 506                                <a href="#property_target">target</a>
 507
 508                                
 509                                
 510                            </li>
 511                        
 512                            <li class="index-item property">
 513                                <a href="#property_timeStamp">timeStamp</a>
 514
 515                                
 516                                
 517                            </li>
 518                        
 519                            <li class="index-item property">
 520                                <a href="#property_type">type</a>
 521
 522                                
 523                                
 524                            </li>
 525                        
 526                    </ul>
 527                </div>
 528            
 529
 530            
 531
 532            
 533        </div>
 534
 535        
 536            <div id="methods" class="api-class-tabpanel">
 537                <h2 class="off-left">Methods</h2>
 538
 539                
 540                    <div id="method_clone" class="method item">
 541    <h3 class="name"><code>clone</code></h3>
 542
 543    
 544        <span class="paren">()</span>
 545    
 546
 547    
 548        <span class="returns-inline">
 549            <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
 550        </span>
 551    
 552
 553    
 554
 555    
 556
 557    
 558
 559    
 560
 561    
 562
 563    
 564
 565    <div class="meta">
 566        
 567            
 568                
 569                <p>
 570                
 571                Defined in
 572                
 573            
 574        
 575        
 576        <a href="../files/createjs_events_Event.js.html#l218"><code>clone:218</code></a>
 577        
 578        </p>
 579
 580
 581        
 582
 583        
 584    </div>
 585
 586    <div class="description">
 587        <p>Returns a clone of the Event instance.</p>
 588
 589    </div>
 590
 591    
 592
 593    
 594        <div class="returns">
 595            <h4>Returns:</h4>
 596
 597            <div class="returns-description">
 598                
 599                    
 600                        <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>:
 601                    
 602                    <p>a clone of the Event instance.</p>
 603
 604                
 605            </div>
 606        </div>
 607    
 608
 609    
 610</div>
 611
 612                
 613                    <div id="method_preventDefault" class="method item">
 614    <h3 class="name"><code>preventDefault</code></h3>
 615
 616    
 617        <span class="paren">()</span>
 618    
 619
 620    
 621
 622    
 623
 624    
 625
 626    
 627
 628    
 629
 630    
 631
 632    
 633
 634    <div class="meta">
 635        
 636            
 637                
 638                <p>
 639                
 640                Defined in
 641                
 642            
 643        
 644        
 645        <a href="../files/createjs_events_Event.js.html#l175"><code>preventDefault:175</code></a>
 646        
 647        </p>
 648
 649
 650        
 651
 652        
 653    </div>
 654
 655    <div class="description">
 656        <p>Sets Event/defaultPrevented to true if the event is cancelable.
 657Mirrors the DOM level 2 event standard. In general, cancelable events that have <code>preventDefault()</code> called will
 658cancel the default behaviour associated with the event.</p>
 659
 660    </div>
 661
 662    
 663
 664    
 665
 666    
 667</div>
 668
 669                
 670                    <div id="method_remove" class="method item">
 671    <h3 class="name"><code>remove</code></h3>
 672
 673    
 674        <span class="paren">()</span>
 675    
 676
 677    
 678
 679    
 680
 681    
 682
 683    
 684
 685    
 686
 687    
 688
 689    
 690
 691    <div class="meta">
 692        
 693            
 694                
 695                <p>
 696                
 697                Defined in
 698                
 699            
 700        
 701        
 702        <a href="../files/createjs_events_Event.js.html#l204"><code>remove:204</code></a>
 703        
 704        </p>
 705
 706
 707        
 708
 709        
 710    </div>
 711
 712    <div class="description">
 713        <p>Causes the active listener to be removed via removeEventListener();</p>
 714<pre class="code prettyprint"><code>    myBtn.addEventListener("click", function(evt) {
 715        // do stuff...
 716        evt.remove(); // removes this listener.
 717    });</code></pre>
 718
 719    </div>
 720
 721    
 722
 723    
 724
 725    
 726</div>
 727
 728                
 729                    <div id="method_set" class="method item">
 730    <h3 class="name"><code>set</code></h3>
 731
 732    
 733        <div class="args">
 734            <span class="paren">(</span><ul class="args-list inline commas">
 735            
 736                <li class="arg">
 737                    
 738                        <code>props</code>
 739                    
 740                </li>
 741            
 742            </ul><span class="paren">)</span>
 743        </div>
 744    
 745
 746    
 747        <span class="returns-inline">
 748            <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>
 749        </span>
 750    
 751
 752    
 753
 754    
 755
 756    
 757
 758    
 759
 760    
 761        <span class="flag chainable">chainable</span>
 762    
 763
 764    
 765
 766    <div class="meta">
 767        
 768            
 769                
 770                <p>
 771                
 772                Defined in
 773                
 774            
 775        
 776        
 777        <a href="../files/createjs_events_Event.js.html#l227"><code>set:227</code></a>
 778        
 779        </p>
 780
 781
 782        
 783
 784        
 785    </div>
 786
 787    <div class="description">
 788        <p>Provides a chainable shortcut method for setting a number of properties on the instance.</p>
 789
 790    </div>
 791
 792    
 793        <div class="params">
 794            <h4>Parameters:</h4>
 795
 796            <ul class="params-list">
 797            
 798                <li class="param">
 799                    
 800                        <code class="param-name">props</code>
 801                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
 802                    
 803
 804                    
 805
 806                    <div class="param-description">
 807                        <p>A generic object containing properties to copy to the instance.</p>
 808
 809                    </div>
 810
 811                    
 812                </li>
 813            
 814            </ul>
 815        </div>
 816    
 817
 818    
 819        <div class="returns">
 820            <h4>Returns:</h4>
 821
 822            <div class="returns-description">
 823                
 824                    
 825                        <span class="type"><a href="../classes/Event.html" class="crosslink">Event</a></span>:
 826                    
 827                    <p>Returns the instance the method is called on (useful for chaining calls.)</p>
 828
 829                
 830            </div>
 831        </div>
 832    
 833
 834    
 835</div>
 836
 837                
 838                    <div id="method_stopImmediatePropagation" class="method item">
 839    <h3 class="name"><code>stopImmediatePropagation</code></h3>
 840
 841    
 842        <span class="paren">()</span>
 843    
 844
 845    
 846
 847    
 848
 849    
 850
 851    
 852
 853    
 854
 855    
 856
 857    
 858
 859    <div class="meta">
 860        
 861            
 862                
 863                <p>
 864                
 865                Defined in
 866                
 867            
 868        
 869        
 870        <a href="../files/createjs_events_Event.js.html#l194"><code>stopImmediatePropagation:194</code></a>
 871        
 872        </p>
 873
 874
 875        
 876
 877        
 878    </div>
 879
 880    <div class="description">
 881        <p>Sets Event/propagationStopped and
 882Event/immediatePropagationStopped to true.
 883Mirrors the DOM event standard.</p>
 884
 885    </div>
 886
 887    
 888
 889    
 890
 891    
 892</div>
 893
 894                
 895                    <div id="method_stopPropagation" class="method item">
 896    <h3 class="name"><code>stopPropagation</code></h3>
 897
 898    
 899        <span class="paren">()</span>
 900    
 901
 902    
 903
 904    
 905
 906    
 907
 908    
 909
 910    
 911
 912    
 913
 914    
 915
 916    <div class="meta">
 917        
 918            
 919                
 920                <p>
 921                
 922                Defined in
 923                
 924            
 925        
 926        
 927        <a href="../files/createjs_events_Event.js.html#l185"><code>stopPropagation:185</code></a>
 928        
 929        </p>
 930
 931
 932        
 933
 934        
 935    </div>
 936
 937    <div class="description">
 938        <p>Sets Event/propagationStopped to true.
 939Mirrors the DOM event standard.</p>
 940
 941    </div>
 942
 943    
 944
 945    
 946
 947    
 948</div>
 949
 950                
 951                    <div id="method_toString" class="method item">
 952    <h3 class="name"><code>toString</code></h3>
 953
 954    
 955        <span class="paren">()</span>
 956    
 957
 958    
 959        <span class="returns-inline">
 960            <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
 961        </span>
 962    
 963
 964    
 965
 966    
 967
 968    
 969
 970    
 971
 972    
 973
 974    
 975
 976    <div class="meta">
 977        
 978            
 979                
 980                <p>
 981                
 982                Defined in
 983                
 984            
 985        
 986        
 987        <a href="../files/createjs_events_Event.js.html#l240"><code>toString:240</code></a>
 988        
 989        </p>
 990
 991
 992        
 993
 994        
 995    </div>
 996
 997    <div class="description">
 998        <p>Returns a string representation of this object.</p>
 999
1000    </div>
1001
1002    
1003
1004    
1005        <div class="returns">
1006            <h4>Returns:</h4>
1007
1008            <div class="returns-description">
1009                
1010                    
1011                        <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
1012                    
1013                    <p>a string representation of the instance.</p>
1014
1015                
1016            </div>
1017        </div>
1018    
1019
1020    
1021</div>
1022
1023                
1024            </div>
1025        
1026
1027        
1028            <div id="properties" class="api-class-tabpanel">
1029                <h2 class="off-left">Properties</h2>
1030
1031                
1032                    <div id="property_bubbles" class="property item">
1033    <h3 class="name"><code>bubbles</code></h3>
1034    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1035
1036    
1037
1038    
1039
1040    
1041
1042    
1043
1044    
1045        <span class="flag readonly">readonly</span>
1046    
1047
1048    <div class="meta">
1049        
1050            
1051                
1052                <p>
1053                
1054                Defined in
1055                
1056            
1057        
1058        
1059        <a href="../files/createjs_events_Event.js.html#l105"><code>bubbles:105</code></a>
1060        
1061        </p>
1062
1063        
1064
1065        
1066    </div>
1067
1068    <div class="description">
1069        <p>Indicates whether the event will bubble through the display list.</p>
1070
1071    </div>
1072
1073    
1074        <p><strong>Default:</strong> false</p>
1075    
1076
1077    
1078
1079    
1080</div>
1081
1082                
1083                    <div id="property_cancelable" class="property item">
1084    <h3 class="name"><code>cancelable</code></h3>
1085    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1086
1087    
1088
1089    
1090
1091    
1092
1093    
1094
1095    
1096        <span class="flag readonly">readonly</span>
1097    
1098
1099    <div class="meta">
1100        
1101            
1102                
1103                <p>
1104                
1105                Defined in
1106                
1107            
1108        
1109        
1110        <a href="../files/createjs_events_Event.js.html#l114"><code>cancelable:114</code></a>
1111        
1112        </p>
1113
1114        
1115
1116        
1117    </div>
1118
1119    <div class="description">
1120        <p>Indicates whether the default behaviour of this event can be cancelled via
1121<a href="../classes/Event.html#method_preventDefault" class="crosslink">preventDefault</a>. This is set via the Event constructor.</p>
1122
1123    </div>
1124
1125    
1126        <p><strong>Default:</strong> false</p>
1127    
1128
1129    
1130
1131    
1132</div>
1133
1134                
1135                    <div id="property_currentTarget" class="property item">
1136    <h3 class="name"><code>currentTarget</code></h3>
1137    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1138
1139    
1140
1141    
1142
1143    
1144
1145    
1146
1147    
1148        <span class="flag readonly">readonly</span>
1149    
1150
1151    <div class="meta">
1152        
1153            
1154                
1155                <p>
1156                
1157                Defined in
1158                
1159            
1160        
1161        
1162        <a href="../files/createjs_events_Event.js.html#l80"><code>currentTarget:80</code></a>
1163        
1164        </p>
1165
1166        
1167
1168        
1169    </div>
1170
1171    <div class="description">
1172        <p>The current target that a bubbling event is being dispatched from. For non-bubbling events, this will
1173always be the same as target. For example, if childObj.parent = parentObj, and a bubbling event
1174is generated from childObj, then a listener on parentObj would receive the event with
1175target=childObj (the original target) and currentTarget=parentObj (where the listener was added).</p>
1176
1177    </div>
1178
1179    
1180        <p><strong>Default:</strong> null</p>
1181    
1182
1183    
1184
1185    
1186</div>
1187
1188                
1189                    <div id="property_defaultPrevented" class="property item">
1190    <h3 class="name"><code>defaultPrevented</code></h3>
1191    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1192
1193    
1194
1195    
1196
1197    
1198
1199    
1200
1201    
1202        <span class="flag readonly">readonly</span>
1203    
1204
1205    <div class="meta">
1206        
1207            
1208                
1209                <p>
1210                
1211                Defined in
1212                
1213            
1214        
1215        
1216        <a href="../files/createjs_events_Event.js.html#l133"><code>defaultPrevented:133</code></a>
1217        
1218        </p>
1219
1220        
1221
1222        
1223    </div>
1224
1225    <div class="description">
1226        <p>Indicates if <a href="../classes/Event.html#method_preventDefault" class="crosslink">preventDefault</a> has been called
1227on this event.</p>
1228
1229    </div>
1230
1231    
1232        <p><strong>Default:</strong> false</p>
1233    
1234
1235    
1236
1237    
1238</div>
1239
1240                
1241                    <div id="property_eventPhase" class="property item">
1242    <h3 class="name"><code>eventPhase</code></h3>
1243    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1244
1245    
1246
1247    
1248
1249    
1250
1251    
1252
1253    
1254        <span class="flag readonly">readonly</span>
1255    
1256
1257    <div class="meta">
1258        
1259            
1260                
1261                <p>
1262                
1263                Defined in
1264                
1265            
1266        
1267        
1268        <a href="../files/createjs_events_Event.js.html#l92"><code>eventPhase:92</code></a>
1269        
1270        </p>
1271
1272        
1273
1274        
1275    </div>
1276
1277    <div class="description">
1278        <p>For bubbling events, this indicates the current event phase:<OL>
1279    <LI> capture phase: starting from the top parent to the target</LI>
1280    <LI> at target phase: currently being dispatched from the target</LI>
1281    <LI> bubbling phase: from the target to the top parent</LI>
1282</OL></p>
1283
1284    </div>
1285
1286    
1287        <p><strong>Default:</strong> 0</p>
1288    
1289
1290    
1291
1292    
1293</div>
1294
1295                
1296                    <div id="property_immediatePropagationStopped" class="property item">
1297    <h3 class="name"><code>immediatePropagationStopped</code></h3>
1298    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1299
1300    
1301
1302    
1303
1304    
1305
1306    
1307
1308    
1309        <span class="flag readonly">readonly</span>
1310    
1311
1312    <div class="meta">
1313        
1314            
1315                
1316                <p>
1317                
1318                Defined in
1319                
1320            
1321        
1322        
1323        <a href="../files/createjs_events_Event.js.html#l153"><code>immediatePropagationStopped:153</code></a>
1324        
1325        </p>
1326
1327        
1328
1329        
1330    </div>
1331
1332    <div class="description">
1333        <p>Indicates if <a href="../classes/Event.html#method_stopImmediatePropagation" class="crosslink">stopImmediatePropagation</a> has been called
1334on this event.</p>
1335
1336    </div>
1337
1338    
1339        <p><strong>Default:</strong> false</p>
1340    
1341
1342    
1343
1344    
1345</div>
1346
1347                
1348                    <div id="property_propagationStopped" class="property item">
1349    <h3 class="name"><code>propagationStopped</code></h3>
1350    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1351
1352    
1353
1354    
1355
1356    
1357
1358    
1359
1360    
1361        <span class="flag readonly">readonly</span>
1362    
1363
1364    <div class="meta">
1365        
1366            
1367                
1368                <p>
1369                
1370                Defined in
1371                
1372            
1373        
1374        
1375        <a href="../files/createjs_events_Event.js.html#l143"><code>propagationStopped:143</code></a>
1376        
1377        </p>
1378
1379        
1380
1381        
1382    </div>
1383
1384    <div class="description">
1385        <p>Indicates if <a href="../classes/Event.html#method_stopPropagation" class="crosslink">stopPropagation</a> or
1386<a href="../classes/Event.html#method_stopImmediatePropagation" class="crosslink">stopImmediatePropagation</a> has been called on this event.</p>
1387
1388    </div>
1389
1390    
1391        <p><strong>Default:</strong> false</p>
1392    
1393
1394    
1395
1396    
1397</div>
1398
1399                
1400                    <div id="property_removed" class="property item">
1401    <h3 class="name"><code>removed</code></h3>
1402    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1403
1404    
1405
1406    
1407
1408    
1409
1410    
1411
1412    
1413        <span class="flag readonly">readonly</span>
1414    
1415
1416    <div class="meta">
1417        
1418            
1419                
1420                <p>
1421                
1422                Defined in
1423                
1424            
1425        
1426        
1427        <a href="../files/createjs_events_Event.js.html#l163"><code>removed:163</code></a>
1428        
1429        </p>
1430
1431        
1432
1433        
1434    </div>
1435
1436    <div class="description">
1437        <p>Indicates if <a href="../classes/Event.html#method_remove" class="crosslink">remove</a> has been called on this event.</p>
1438
1439    </div>
1440
1441    
1442        <p><strong>Default:</strong> false</p>
1443    
1444
1445    
1446
1447    
1448</div>
1449
1450                
1451                    <div id="property_target" class="property item">
1452    <h3 class="name"><code>target</code></h3>
1453    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1454
1455    
1456
1457    
1458
1459    
1460
1461    
1462
1463    
1464        <span class="flag readonly">readonly</span>
1465    
1466
1467    <div class="meta">
1468        
1469            
1470                
1471                <p>
1472                
1473                Defined in
1474                
1475            
1476        
1477        
1478        <a href="../files/createjs_events_Event.js.html#l71"><code>target:71</code></a>
1479        
1480        </p>
1481
1482        
1483
1484        
1485    </div>
1486
1487    <div class="description">
1488        <p>The object that generated an event.</p>
1489
1490    </div>
1491
1492    
1493        <p><strong>Default:</strong> null</p>
1494    
1495
1496    
1497
1498    
1499</div>
1500
1501                
1502                    <div id="property_timeStamp" class="property item">
1503    <h3 class="name"><code>timeStamp</code></h3>
1504    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
1505
1506    
1507
1508    
1509
1510    
1511
1512    
1513
1514    
1515        <span class="flag readonly">readonly</span>
1516    
1517
1518    <div class="meta">
1519        
1520            
1521                
1522                <p>
1523                
1524                Defined in
1525                
1526            
1527        
1528        
1529        <a href="../files/createjs_events_Event.js.html#l124"><code>timeStamp:124</code></a>
1530        
1531        </p>
1532
1533        
1534
1535        
1536    </div>
1537
1538    <div class="description">
1539        <p>The epoch time at which this event was created.</p>
1540
1541    </div>
1542
1543    
1544        <p><strong>Default:</strong> 0</p>
1545    
1546
1547    
1548
1549    
1550</div>
1551
1552                
1553                    <div id="property_type" class="property item">
1554    <h3 class="name"><code>type</code></h3>
1555    <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
1556
1557    
1558
1559    
1560
1561    
1562
1563    
1564
1565    
1566
1567    <div class="meta">
1568        
1569            
1570                
1571                <p>
1572                
1573                Defined in
1574                
1575            
1576        
1577        
1578        <a href="../files/createjs_events_Event.js.html#l64"><code>type:64</code></a>
1579        
1580        </p>
1581
1582        
1583
1584        
1585    </div>
1586
1587    <div class="description">
1588        <p>The type of event.</p>
1589
1590    </div>
1591
1592    
1593
1594    
1595
1596    
1597</div>
1598
1599                
1600            </div>
1601        
1602
1603        
1604
1605        
1606    </div>
1607</div>
1608
1609                    </div>
1610                </div>
1611            </div>
1612        </div>
1613    </div>
1614</div>
1615<script src="../assets/vendor/prettify/prettify-min.js"></script>
1616<script>prettyPrint();</script>
1617<script src="../assets/js/yui-prettify.js"></script>
1618<script src="../assets/../api.js"></script>
1619<script src="../assets/js/api-filter.js"></script>
1620<script src="../assets/js/api-list.js"></script>
1621<script src="../assets/js/api-search.js"></script>
1622<script src="../assets/js/apidocs.js"></script>
1623</body>
1624</html>