nl_tokens: a view leaves the preRender state once its element has been created ( createElement ) .
pl_tokens: function ( view , fn ) { view . createElement ( ) ; var viewCollection = view . viewHierarchyCollection ( ) ; viewCollection . trigger ( 'willInsertElement' ) ; fn . call ( view ) ; // We transition to `inDOM` if the element exists in the DOM var element = view . get ( 'element' ) ; if ( <mask> . body . contains ( element ) ) { viewCollection . transitionTo ( 'inDOM' , false ) ; viewCollection . trigger ( 'didInsertElement' ) ; } }