Using in Javascript

  • Include the javascript file in your website coe.
  • All the predefined functions are defined in window.sxwjs object.
  • Call the corresponding funtion fron window.sxwjs object.
    <script>
      window.sxwjs.printWarning('en');
    </script>

Using in Angular

  • Install the package through npm
  • Import the module in your application.
    import sxwjs from '@sxwjs/sxwjs';
  • Call the corresponding funtion fron sxwjs object.
    sxwjs.printWarning('en');