<gfs-carrier-icon>
The gfs-carrier-icon
widget is used by the other widgets in the GFS Checkout collection, but is also available to use for display of carrier icons within your eCommerce website.
Install
# via bower
$ bower install --save gfs-carrier-icon
Usage
- Import Web Components' polyfill:
<script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
- Import Custom Element:
<link rel="import" href="bower_components/gfs-carrier-icon/gfs-carrier-icon.html">
- Start using it!
<gfs-carrier-icon
carrier-name="dpd"
icon-size="medium"
country-code="GB">
</gfs-carrier-icon>
More info and all the available properties can be found at GFS widget portal