File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
docs/src/examples/query/plugins/query-transition-behavior Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import { $ } from '@semantic-ui/query';
33
44$ ( 'ui-button' ) . on ( 'click' , ( ) => {
55 const animation = $ ( '.animation' ) . val ( ) ;
6- const direction = $ ( '.direction' ) . val ( ) ;
6+ const groupOrder = $ ( '.direction' ) . val ( ) ;
77 const duration = $ ( '.duration' ) . val ( ) || 'auto' ;
88 const interval = $ ( '.interval' ) . val ( ) ;
99
1010 $ ( '.box' ) . transition ( {
1111 animation,
12- direction ,
12+ groupOrder ,
1313 duration,
1414 interval,
1515 } ) ;
Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ const createBehavior = (
257257 return ;
258258 }
259259
260+ // pass through animation id for easier debugging / inspection of animations
261+ // i.e. "fade in" , "fade out", "bounce"
260262 const animationID = ( direction )
261263 ? `${ cssAnimations . name } ${ direction } `
262264 : `${ cssAnimation } ` ;
You can’t perform that action at this time.
0 commit comments