Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Links inside a an Integrated Web App will operate differently inside an App than inside a web browser. That's why Liquid State has created a ls-links.js file so handle links inside Web Apps and the Apps themselves.



To link to websites inside a web app using ls-links.js 

  1. Ensure you have Created a Web App
  2. Download the example Web App
  3. Copy the ls-links.js file from the folder
  4. Reference the Javascript inside your HTML file like this: <script src="./js/ls-links.js" type="text/javascript"></script>


    Expand
    titleLink opens in the In-App Browser (recommended)

    <a class="ls-link" href="https://example.com">


    Expand
    titleLink opens in External Browser (Safari on iOS)

    <a class="ls-link ls-link-external" href="https://example.com">


    Expand
    titleLink allows upload of attachments

    <a class="ls-link ls-link-attachments" href="https://example.com">