ts-search-stencil
v0.1.6
Published
Travelsmart Search Widget
Downloads
93
Readme
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" |