Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
icon: "text-format",
required: false
}
]
}
};
}
}
window.customElements.define(MediaImage.tag, MediaImage);
/**
* `media-image-image`
* `A simple image presentaiton with minor documented options`
* @customElement media-image-image
*/
class MediaImageImage extends SimpleModalHandler(LitElement) {
/**
* LitElement constructable styles enhancement
*/
static get styles() {
return [
css`
:host {
display: block;
}
:host(:hover) {
cursor: pointer;
}
iron-image {
width: 100%;
--iron-image-width: 100%;
}