File tree Expand file tree Collapse file tree
packages/uikit-workshop/src/scripts/lit-components/pl-viewport Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ class IFrame extends BaseLitComponent {
152152 // @todo : refactor to better handle the iframe async rendering
153153 if ( this . iframe ) {
154154 if ( animate === true ) {
155- this . iframeContainer . classList . add ( 'is-animate ' ) ;
156- this . iframe . classList . add ( 'is-animate ' ) ;
155+ this . iframeContainer . classList . add ( 'is-animating ' ) ;
156+ this . iframe . classList . add ( 'is-animating ' ) ;
157157 }
158158
159159 if ( size < maxViewportWidth ) {
@@ -178,8 +178,8 @@ class IFrame extends BaseLitComponent {
178178 // auto-remove transition classes if not the animate param isn't set to true
179179 setTimeout ( function ( ) {
180180 if ( animate === true ) {
181- self . iframeContainer . classList . remove ( 'vp-animate ' ) ;
182- self . iframe . classList . remove ( 'vp-animate ' ) ;
181+ self . iframeContainer . classList . remove ( 'is-animating ' ) ;
182+ self . iframe . classList . remove ( 'is-animating ' ) ;
183183 }
184184 } , 800 ) ;
185185
You can’t perform that action at this time.
0 commit comments