... refreshComponents : function ( ) { ... setTimeout ( ( ) => { ddGallery . init ( ) ; } , 1000 ) ; } , ...