PhotoBrowser.create Popup with fullscreen?

I’m trying to create a photoBrowser in JS, of type popup, but have it render full screen.

I know i need to add the class ‘popup-tablet-fullscreen’, but how can i do this when the popup is created dynamically? The el element has not yet rendered.

photoBrowser = app.photoBrowser.create({photos:imageArray,type:‘popup’});
var tmp = photoBrowser.el;

where is your dynamic code?