Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    Embedable widget එකක්හ දන්නේ කොහොමද?

    Front-End Development
    html javascript widget iframe
    1
    2
    301
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      malinga91 last edited by

      HTML වලින් කරුපු calculator එකක් තියෙනවා. ඒක web pages වල embed කරන්නේ කොහොමද?

      Ex : page.html

      <div id="stamp-duty-calculator" class="grey-theme hidden">
      </div>
      
      <script id="stamp-src" type="text/javascript" data-state="All" src="//calculatorsonline.com.au/external/!main/stamp_duty.min.js"></script>
      

      මං iframe වලින් try කරා. ඒත් height එක dynamic කරන්න බැහැ නේද? load වෙද්දිම 100% height එක එන්න ඕන.

      npm package එකක් උනත් කමක් නෑ ක්‍රමයක් තියෙනම්.

      1 Reply Last reply Reply Quote 0
      • M
        malinga91 last edited by

        I could do this using VueJs.

        Try this > https://itnext.io/vuidget-how-to-create-an-embeddable-vue-js-widget-with-vue-custom-element-674bdcb96b97

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        0
        Online

        3.7k
        Users

        1.3k
        Topics

        5.3k
        Posts

        • Privacy
        • Terms & Conditions
        • Donate

        © Copyrights and All right reserved Lanka Developers Community

        Powered by Axis Technologies (PVT) Ltd

        Made with in Sri Lanka

        | |