Tokentextarea: add/remove events are deprecated.
authorMinkyeong Kim <minkyeong.kim@samsung.com>
Thu, 28 Mar 2013 04:27:36 +0000 (13:27 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Sat, 30 Mar 2013 12:49:09 +0000 (21:49 +0900)
Change-Id: I183b2fa1246a415c6100dcedb86aeab6b6551ec5

src/js/widgets/jquery.mobile.tizen.tokentextarea.js

index 11970af..348e048 100755 (executable)
@@ -85,8 +85,8 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
  *
  *             create : Occur when create TokenTextArea widget.
  *             select : Occur when a button is selected.
- *             add : Occur when new button is inserted.
- *             remove : Occur when a button is removed.
+ *             add : Occur when new button is inserted. (@since Tizen 2.1 deprecated, You can still use this event. But not recommended.)
+ *             remove : Occur when a button is removed. (@since Tizen 2.1 deprecated, You can still use this event. But not recommended.)
  *
  *     Examples:
  *
@@ -147,7 +147,7 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
                });     
 */
 /**
-       @event add
+       @event add (@since Tizen 2.1 deprecated, You can still use this event. But not recommended.)
        The add event is fired when a token text area widget button is created:
 
                <div data-role="tokentextarea">
@@ -158,8 +158,9 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) {
                });
 */
 /**
-       @event remove
+       @event remove (@since Tizen 2.1 deprecated, You can still use this event. But not recommended.)
        The remove event is fired when a token text area widget button is removed:
+       Restriction : "remove" event works under only "bind" event handling.
 
                <div data-role="tokentextarea">
                </div>