public static < T > void fire ( final HasBeforeItemAddHandlers < T > source , T item ) { if ( TYPE != null ) { BeforeItemAddEvent < T > event = new BeforeItemAddEvent < T > ( item ) ; source . fireEvent ( event ) ; } }
Fires a tagsinput beforeItemAdd event on all registered handlers in the handler manager . If no such handlers exist this method will do nothing .