nl_tokens: Adds one or more Components to this Container . Example :
pl_tokens: function ( newItems ) { var me = this , i , ln , item , newActiveItem ; if ( Ext . isArray ( newItems ) ) { for ( i = 0 , ln = newItems . length ; i < ln ; i ++ ) { item = me . factoryItem ( newItems [ i ] ) ; this . doAdd ( item ) ; if ( ! newActiveItem && ! this . getActiveItem ( ) && this . innerItems . length > 0 && item . isInnerItem ( ) ) { newActiveItem = item ; } } } else { item = me . factoryItem ( newItems ) ; this . doAdd ( <mask> ) ; if ( ! newActiveItem && ! this . getActiveItem ( ) && this . innerItems . length > 0 && item . isInnerItem ( ) ) { newActiveItem = item ; } } if ( newActiveItem ) { this . setActiveItem ( newActiveItem ) ; } return item ; }