1.3.5 • Published 8 months ago

mfe-pro-highlighter v1.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

codecov

MFE Pro Highlighter

MFE Pro Highlighter

MFE Pro Highlighter is a library to highlight micro frontend components with gradient borders and dynamic tooltips.

How to Use

  1. Import the script from jsDelivr:
<script src="https://cdn.jsdelivr.net/npm/mfe-pro-highlighter@latest/dist/highlighter.min.js"></script>
  1. Call the function to start the highlight:
<div class="block" data-mfe-highlighter="true" data-mfe-name="my-package-name" data-mfe-owner="team-a"
     data-mfe-version="1.0.0">Test Element
</div>
<script>
  MFEHighlighter.init({
    org: '@test',
    barColor: 'red',
    fontColor: 'white',
    primaryColor: '#ff6995',
    secondaryColor: '#3ecdff',
    buttonActiveColor: '#ff6995',
    buttonInactiveColor: '#3ecdff',
    iconActiveColor: '#ffffff',
    iconInactiveColor: '#000000',
    autoInit: true
  });
</script>
1.3.5

8 months ago

1.3.4

8 months ago

1.3.2

8 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago