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