0.0.4 • Published 6 years ago
ts-search-slim-view v0.0.4
Travelsmart Search Widget
Widget allows Travelsamrt deals to be searched from any site.
How to use
The widget can be used using NPM or with using the script tag.
Using NPM
npm i ts-search
Use as script tag
<script src="https://unpkg.com/ts-search/dist/search.js"></script>
Then you can use the element anywhere in your template, JSX, html etc.
<search-widget orientation="horizontal" aid="fw"></search-widget>
Input Properties
Attr | Type | Description |
---|---|---|
orientation | string | Default options are: "horizontal" , "vertical" |
aid | aid | Partner AID e.g "fw" |