Micrio Client image viewer
npm install @micrio/clientIf you are looking for HOWTOs, tutorials, or general Micrio help, please check out our
searchable Knowledge Base at:
``bash`
npm i @micrio/client
Since the Micrio Client is a passive binding for all HTML elements, all you need to do to include Micrio in your project or page is:
`js`
import '@micrio/client'
To get typed access to a Micrio HTML element, you can use the HTMLMicrioElement as exported by this package:
`ts
import type { HTMLMicrioElement } from '@micrio/client';
// This will be a fully typed element
const micrioElement = document.querySelector('micr-io') as HTMLMicrioElement;
``