Webcomponent ix-fab following open-wc recommendations
npm install @digital-realty/ix-fabThis webcomponent follows the open-wc recommendation.
``bash`
npm i @digital-realty/ix-fab
An IxFab expects an icon in it's slot element to render the component correctly.
The icon can be from any icon library, an image or an svg.
`html
`
JS
import { IxFab } from '@digital-realty/ix-fab/IxFab'
...
`Linting and formatting
To scan the project for linting and formatting errors, run
`bash
npm run lint
`To automatically fix linting and formatting errors, run
`bash
npm run format
`Testing with Web Test Runner
To execute a single test run:
`bash
npm run test
`To run the tests in interactive watch mode run:
`bash
npm run test:watch
``Full documentation and demo are available at DLR Component Gallery.