0.7.0 • Published 2 years ago

@palmabit/react-cookie-law-static-loader v0.7.0

Weekly downloads
63
License
MIT
Repository
github
Last release
2 years ago

React Cookie Law static loader

Example

<body>
  <div id="_rcl-banner"></div>

  <script crossorigin src="https://unpkg.com/@palmabit/react-cookie-law-static-loader@0.7.0/index.js"></script>

  <script>
    renderCookieBanner({
      elementId: '_rcl-banner', // default "_rcl-banner"
      props: {
        message: 'Lorem ipsum',
        // other @palmabit/react-cookie-law params
      }
    })
  </script>

  <script type="text/plain" class="_rcl">
      console.log('Custom script...');
  </script>

  <script type="text/plain" class="_rcl_preferences">
      console.log('Custom preferences script');
  </script>

  <script type="text/plain" class="_rcl_statistics">
      console.log('Custom statistics script');
  </script>

  <script type="text/plain" class="_rcl_marketing">
      console.log('Custom marketing script');
  </script>
</body>

Author

Palmabit

Licence

See the MIT License

0.7.0

2 years ago

0.4.0

4 years ago

0.3.0

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago