Skip to content
Snippets Groups Projects

leaflet: Unify the transition types

  1. Nov 23, 2019
    • Adrien Plazas's avatar
      examples: Add a Leaflet page · c73afab5
      Adrien Plazas authored and Adrien Plazas's avatar Adrien Plazas committed
      This adds a page to demo the leaflet transitions, drops usage of the
      deprecated leaflet transition types and properties, and defaults to the
      'over' transition to demo it and its shadow effect.
      c73afab5
    • Adrien Plazas's avatar
      leaflet: Remove the over and under mode transitions · d0ec7110
      Adrien Plazas authored and Adrien Plazas's avatar Adrien Plazas committed
      There is no point in adding enum values and deprecating them in the same
      version, so let's just remove them. The animations are still available
      via the newly added HdyLeafletTransitionType type and the
      transition-type property, so this also encourages migrating to the new
      API.
      d0ec7110
    • Adrien Plazas's avatar
      leaflet: Unify the transition types · b73e0b31
      Adrien Plazas authored and Adrien Plazas's avatar Adrien Plazas committed
      Add the HdyLeafletTransitionType enumeration and the transition-type
      property to define both the mode and child transitions, as having them
      different makes no sense and could lead to spatialization issues.
      
      This new type doesn't offer a crossfade transition on purpose as it was
      deemed inappropriate for the leaflet, for which the position of the
      children is inherently important.
      
      This also deprecates the two previous properties and their respective
      types.
      
      Fixes #92.
      b73e0b31
Loading