Skip to content

Commit

Permalink
1.0-M4: Added "all" to Transition DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
adamldavis committed Jul 18, 2019
1 parent 9bee277 commit 286043a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/groovy/org/groocss/Transition.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ class Transition implements CSSPart {
new TransitionDSL()
}

/** Transitions "all" properties. */
TransitionTimingDSL all (durationVal) {
property = 'all'
duration = durationVal
timingDSL
}

/** Sets all the background properties in one declaration */
TransitionTimingDSL background (durationVal) {
property = 'background'
Expand Down

0 comments on commit 286043a

Please sign in to comment.