Socket
Socket
Sign inDemoInstall

@deckdeckgo/drag-resize-rotate

Package Overview
Dependencies
1
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="1.0.1"></a>
# 1.0.1 (2020-05-08)
### Features
- slot selector on load for Stenci prerendering
<a name="1.0.0"></a>

@@ -2,0 +10,0 @@

2

dist/cjs/deckgo-drr.cjs.entry.js

@@ -122,3 +122,3 @@ 'use strict';

async displaySlot() {
const element = this.el.querySelector(`:scope > *`);
const element = this.el.querySelector( `:scope > *` );
if (element && element.style.display === 'none') {

@@ -125,0 +125,0 @@ element.style.display = '';

@@ -1,2 +0,2 @@

import { Component, h, Host, Prop, State, Element, Event } from '@stencil/core';
import { Component, h, Host, Prop, State, Element, Event, Build } from '@stencil/core';
import { unifyEvent } from '@deckdeckgo/utils';

@@ -109,3 +109,3 @@ export class DeckdeckgoDragResizeRotate {

async displaySlot() {
const element = this.el.querySelector(`:scope > *`);
const element = this.el.querySelector(Build.isBrowser ? `:scope > *` : '> *');
if (element && element.style.display === 'none') {

@@ -112,0 +112,0 @@ element.style.display = '';

@@ -118,3 +118,3 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-351898b8.js';

async displaySlot() {
const element = this.el.querySelector(`:scope > *`);
const element = this.el.querySelector( `:scope > *` );
if (element && element.style.display === 'none') {

@@ -121,0 +121,0 @@ element.style.display = '';

{
"name": "@deckdeckgo/drag-resize-rotate",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Web Component to drag, resize and rotate any element",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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