You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/08/11 18:16:07 UTC

[royale-asjs] branch develop updated: collections: expose ArrayList souce as DefuaultProperty to make more easy declare in mxml

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new d894054  collections: expose ArrayList souce as DefuaultProperty to make more easy declare in mxml
d894054 is described below

commit d8940544eab56f5a93d9a73fb95fec14d56e998c
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Aug 11 20:15:55 2020 +0200

    collections: expose ArrayList souce as DefuaultProperty to make more easy declare in mxml
---
 .../src/main/royale/org/apache/royale/collections/ArrayList.as         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
index 25d0c79..78594db 100644
--- a/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
+++ b/frameworks/projects/Collections/src/main/royale/org/apache/royale/collections/ArrayList.as
@@ -89,8 +89,9 @@ package org.apache.royale.collections
 	 *  @productversion Royale 0.0
 	 */
 	[Event(name="itemUpdated", type="org.apache.royale.events.CollectionEvent")]
-	
 
+
+	[DefaultProperty("source")]
     /**
      *  The ArrayList class provides an event-driven wrapper for the
 	 *  standard Array. Events are dispatched when items are added, removed,