ts-search-stencil-ng

Travelsmart Search Widget

Usage no npm install needed!

<script type="module">
  import tsSearchStencilNg from 'https://cdn.skypack.dev/ts-search-stencil-ng';
</script>

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"