
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@uportal/grid-carousel
Advanced tools
[](https://www.npmjs.com/package/@uportal/grid-carousel) [](https://m
A component (designed for favorites) to show icons and names of portlets in a grid view, then collapsing to a carousel in mobile view.
# install with npm
npm install @uportal/grid-carousel
# install with yarn
yarn add @uportal/grid-carousel
install with maven
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>uportal__grid-carousel</artifactId>
<version>{version number goes here}</version>
</dependency>
install with gradle
compile 'org.webjars.npm:uportal__grid-carousel:{version number goes here}'
<script src="https://unpkg.com/@uportal/grid-carousel"></script>
<grid-carousel debug data-api-url="/portletRegistry.json">
<p slot="zero">Nothing loaded.</p>
</grid-carousel>
data-api-url
(string): URL of the REST API that provides JSON data to the template.
/uPortal/api/v4-3/dlm/portletRegistry.json?favorite=true
oidc-url
(string): URL of the Authentication API that provides a JWT to send with the data-api-url
/uPortal/api/v5-1/userinfo
context-portlet-url
(string) prefixed base of links intended to go to portlet detail in uPortal.
/uPortal/p/
debug
(boolean): component will run in a standalone way (disable api call).
false
breakpoint
(number): browser width where the component will collapse to a carousel (at less than number provided)
768
default-icon
(string) default path to icon if image is not defined in json
/ResourceServingWebapp/rs/tango/0.8.90/32x32/categories/applications-other.png
truncate-length
(number) length of text to truncate to for name of portlet
50
slides-per-view
(number) number of slides to show in mobile view
3
slides-per-group
(number) number of slides to change by in mobile view
3
speed
(number) speed of transition in mobile view
200
;space-between
(number) distance between icons in mobile view
20
The zero
slot defines the template containing the markup that will appear on the page when the data retrieved is empty but returns a 20x status code.
[1.40.2][]
FAQs
[](https://www.npmjs.com/package/@uportal/grid-carousel) [](https://m
The npm package @uportal/grid-carousel receives a total of 0 weekly downloads. As such, @uportal/grid-carousel popularity was classified as not popular.
We found that @uportal/grid-carousel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 13 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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.