public final ProjectionJavaScriptBuilder type ( final String eventType ) { if ( count > 0 ) { sb . append ( "," ) ; } sb . append ( "'" + eventType + "': function(state, ev) { linkTo('" + projection + "', ev); }" ) ; count ++ ; return this ; }
Adds another type to select .