
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
@openremote/or-asset-viewer
Advanced tools
Web Component for displaying an asset tree. This component requires an OpenRemote Manager to retrieve, save and query assets.
npm i @openremote/or-asset-viewer
yarn add @openremote/or-asset-viewer
By default the or-asset-viewer is using a 2 columns grid. This can be changed by using a different config.
4 column grid, 25% for each column:
const viewerConfig = {
viewerStyles: {
gridTemplateColumns: "repeat(auto-fill, minmax(calc(25%),1fr))";
}
};
<or-asset-viewer .config="${viewerConfig}"></or-asset-viewer>
The position of a panel can also be changed by changing the config of or-asset-viewer
To change the width of a panel use gridColumn:
const viewerConfig = {
panels: {
"info": {
type: "property",
panelStyles: {
gridColumn: "1 / -1" // same as 1 / 3 in a 2 column grid: Start on column 1, End on column 3
}
}
}
};
gridColumn can also be used to change the position horizontally.
const viewerConfig = {
panels: {
"info": {
type: "property",
panelStyles: {
gridColumnStart: "2" // start the panel in the second column
}
}
}
};
To change the vertical position of a panel use gridRowStart. To start the panel on the first row set gridRowStart to 1:
const viewerConfig = {
panels: {
"info": {
type: "property",
panelStyles: {
gridRowStart: "1"
}
}
}
};
For a full list of properties, methods and options refer to the TypeDoc generated documentation.
The last 2 versions of all modern browsers are supported, including Chrome, Safari, Opera, Firefox, Edge. In addition, Internet Explorer 11 is also supported.
FAQs
OpenRemote Asset Viewer
The npm package @openremote/or-asset-viewer receives a total of 543 weekly downloads. As such, @openremote/or-asset-viewer popularity was classified as not popular.
We found that @openremote/or-asset-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.