1.0.5 • Published 7 years ago

eurostar-ticket v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

There are several types of tickets on Eurostar.com, each of which is suited for specific contexts. The component takes several options to configure which variant to use.

  • - "isOutbound": true -> defines the template for a one-leg journey, if set to false the inbound journey template will be used
  • - "trainClass": "standard", "trainClass": "standard-premier", "trainClass": "business-premier" -> defines the template for the different Eurostar classes of accomodation
  • - "cutOutGrey": true -> uses a grey colour for the cut-out instead of the default white
  • - "options": true -> trigger the templates for the options tickets (travelled, cancelled or icons tickets)
  • - "types": "cancelled", "travelled": false, "cancelled": "Train cancelled" -> uses the ticket cancelled template
  • - "types": "travelled", "travelled": "Travelled" -> uses the ticket travelled template
  • - "icons": true, "singleIcon": true -> uses the template for 1 icon, otherwise, if "icons": true only is set, the template for two icons will be used by default

The tickets styles used in Eurostar.com are listed below.

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago