Socket
Socket
Sign inDemoInstall

@salesforcedevs/docs-components

Package Overview
Dependencies
16
Maintainers
13
Versions
571
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.262-scroll-alpha1 to 1.3.262-scroll-alpha2

2

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.3.262-scroll-alpha1",
"version": "1.3.262-scroll-alpha2",
"description": "Docs Lightning web components for DSC",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -13,2 +13,4 @@ import { LightningElement, api } from "lwc";

const TABLE_SIZE_MATCH = "769px";
export default class AmfTopic extends LightningElement {

@@ -90,3 +92,9 @@ private _model: TopicModel | undefined;

window.scrollTo(0, 0);
const isTabletOrDesktop = window.matchMedia(
`(min-width: ${TABLE_SIZE_MATCH})`
).matches;
if (isTabletOrDesktop) {
window.scrollTo(0, 0);
}
}

@@ -93,0 +101,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc