パッケージの詳細

@deckdeckgo/utils

deckgo1.8kMIT非推奨5.1.0

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

A collection of utils methods and functions developed for DeckDeckGo

readme

npm license

DeckDeckGo - Utils

A collection of utils methods and functions developed and used across apps and components of DeckDeckGo.

Table of contents

-

Methods

The following functions and methods are statically exposed:

Unify an event

To unify a mouse or touche event

static unifyEvent(e: any): any

Debounce

Debounce a function. Per default 300ms.

static debounce(func: Function, timeout?: number)

Is mobile?

Is the current navigator used on mobile devices? The list of devices from Detect Mobile Browsers is use for detection purpose.

static isMobile(): boolean

Is iOS?

Is the current device an iOS one (iPad, iPhone and iPod)?

static isIOS(): boolean

Is full screen?

Compare the window.innerHeight and screen.height to detect full screen or not.

static isFullscreen(): boolean

License

MIT © David Dal Busco and Nicolas Mattia

更新履歴

6.X.0 (2022-AA-BB)

Providers

Web Components: Deprecated and integrated into stylo

  • color
  • inline-editor

Web Components: New

Web Components

Others

5.2.0 (2021-12-24)

Applications

Providers

Web Components

Web Components: New

Web Components: Deprecated and moved to elements

  • youtube
  • social
  • reveal
  • demo
  • qrcode

Others: New

Others

5.1.0 (2021-12-03)

Applications

Providers

Web Components

Others: NEW

Others

5.0.1 (2021-10-29)

Applications

Web Components

Others

5.0.0 (2021-10-21)

Applications

Providers: New

Utils: New

Others

4.10.0 (2021-09-04)

Applications

Web Components: Templates

Web Components

4.9.0 (2021-08-20)

Applications

Web Components

Others

4.8.0 (2021-06-13)

Applications

Others

4.7.0 (2021-05-29)

Applications

Web Components Templates

  • slide-code: DEPRECATED

The "code" template is not used in our web editor and, is really rarely used in starter apps. To showcase code, the component @deckdeckgo/highlight-code is always used with blocks of code. Therefore, to simplify the code base, I deprecate this template.

Web Components

Others

4.6.0 (2021-05-09)

Applications

Web Components: New

Web Components

Others

4.5.0 (2021-04-06)

Applications

Web Components

Web Components Templates

Others: New

  • figma-deckdeckgo-plugin: v1.0.2 (CHANGELOG)

Others

4.4.0 (2021-03-18)

Applications

4.3.0 (2021-03-12)

Applications

Web Components

Others

4.2.0 (2020-02-14)

Applications

Web Components

Web Components: Templates

Others: New

Others

4.1.0 (2021-01-14)

Applications

Web Components

Web Components: Templates

4.0.0 (2020-12-23)

Applications

New Applications

3.2.1 (2020-12-16)

Applications

Web Components

Others

3.2.0 (2020-11-28)

Applications

3.1.0 (2020-11-22)

Applications

Web Components Templates

Web Components: New

Web Components

Others: New

Others

3.0.0 (2020-10-29)

Applications

Web Components: New

Web Components Templates

Web Components

Others

2.3.0 (2020-09-06)

Applications

Web Components Templates

Web Components

Others

2.2.0 (2020-08-17)

Applications

Web Components

Others

2.1.0 (2020-07-30)

Announcing DeckDeckGo for Enterprise, another kind of editor for your company's presentations.

Easily apply your corporate identity and design across all your company’s presentations. Secure distribution and maintenance.

More information, features and contact.

Applications

Web Components

2.0.0 (2020-07-23)

Breaking Changes

Because we are introducing the header and footer features, slots in the templates gif and aspect-ratio had to be renamed to avoid name collision.

Therefore, if you would edit such templates with our editor or developer kit, created before these releases, these modifications have to be performed in your content.

Ping me if you need any help or have questions.

Best regards,

David

Applications

Web Components Templates

Web Components

Others

1.5.0 (2020-07-02)

Applications

Web Components

1.4.0 (2020-06-25)

Applications

Web Components: New Templates

Web Components

Web Components: Templates

Others

1.3.0 (2020-05-28)

Applications

Web Components

Web Components: Templates

Others

1.2.0 (2020-07-15)

Applications

Web Components: New

Web Components: Update

Web Components Templates

Others

1.1.0 (2020-07-08)

Applications

Web Components: New

Web Components: Update

Web Components Templates

Others

1.0.0 (2019-04-21)

Applications

Web Components

Web Components Templates

Others

1.0.0-rc.21-1 (2020-03-09)

Applications

Web Components

Others

1.0.0-rc.21 (2020-02-27)

New: Web Components

  • drag-resize-rotate: v1.0.0-beta.3 (CHANGELOG)
  • slide-aspect-ratio: v1.0.0-beta.1-2 (CHANGELOG)

New: Others

Applications

Web Components

Others

1.0.0-rc.20 (2020-01-20)

Applications

New: Web Components

Web Components

Others

1.0.0-rc.19 (2019-12-13)

Applications

Web Components

Others

1.0.0-rc.18 (2019-12-04)

Applications

New: Web Components

Web Components

Others

1.0.0-rc.17 (2019-11-10)

Applications

Web Components

Others

1.0.0-rc.16-1 (In progress)

Applications

Web Components

Others

1.0.0-rc.16 (2019-10-20)

Applications

Web Components

Others

1.0.0-rc.15 (2019-10-07)

Applications

Web Components

Others

1.0.0-rc.14-2 (2019-09-23)

Applications

1.0.0-rc.14-1 (2019-09-21)

Applications

Web Components

1.0.0-rc.14 (2019-09-21)

New: Web Components

Applications

Web Components

Others

1.0.0-rc.13 (2019-09-20)

Applications

1.0.0-rc.12-3 (2019-09-15)

Applications

New: Web Components

Web Components

Others

1.0.0-rc.12-2 (2019-09-13)

Applications

Others

1.0.0-rc.12-1 (2019-09-09)

Applications

Web Components

1.0.0-rc.12 (2019-09-08)

Applications

Others

1.0.0-rc.11-2 (2019-09-04)

Web Components

Applications

Others

1.0.0-rc.11-1 (2019-09-02)

Others

1.0.0-rc.11 (2019-09-01)

Applications

Web Components

Others

1.0.0-rc.10 (2019-08-30)

BREAKING: Web Components

Applications

Web Components

New: Web Components

Others

Note

The first users began to test, and to create content in, our web open source editor for presentations. Therefore the beta releases of the monorepo are discontinued in favor of the release candidates 🚀

1.0.0-beta.55 (2019-08-15)

BREAKING: Web Components

Applications

Web Components

1.0.0-beta.54-2 (2019-08-09)

Applications

Web Components

1.0.0-beta.54-1 (2019-08-07)

Web Components

1.0.0-beta.54 (2019-08-07)

Applications

Web Components

1.0.0-beta.53-1 (2019-08-06)

Applications

Web Components

1.0.0-beta.53 (2019-08-06)

Applications

Web Components

1.0.0-beta.52-3 (2019-07-30)

Web Components

  • highlight-code: v1.0.0-alpha.17-3 (CHANGELOG)

1.0.0-beta.52-2 (2019-07-30)

Applications

Web Components

  • highlight-code: v1.0.0-alpha.17-2 (CHANGELOG)

1.0.0-beta.52-1 (2019-07-30)

Web Components

  • highlight-code: v1.0.0-alpha.17-1 (CHANGELOG)

1.0.0-beta.52 (2019-07-30)

Applications

Web Components

1.0.0-beta.51-2 (2019-07-19)

Web Components

1.0.0-beta.51-1 (2019-07-18)

Web Components

1.0.0-beta.51 (2019-07-17)

Applications

Web Components

1.0.0-beta.50 (2019-07-13)

Applications

1.0.0-beta.49 (2019-07-11)

Applications

Web Components

1.0.0-beta.48-1 (2019-07-06)

Web Components

1.0.0-beta.48 (2019-06-27)

Applications

Web Components

1.0.0-beta.47 (2019-06-24)

Applications

Web Components

1.0.0-beta.46-3 (2019-06-16)

Applications

Web Components

1.0.0-beta.46-2 (2019-06-16)

Web Components

1.0.0-beta.46-1 (2019-06-14)

Web Components

1.0.0-beta.46 (2019-06-14)

Applications

Web Components

1.0.0-beta.45 (2019-06-09)

Applications

Web Components

1.0.0-beta.44 (2019-06-06)

Applications

Web Components

1.0.0-beta.43 (2019-06-04)

Applications

Web Components

1.0.0-beta.42 (2019-05-30)

Web Components - First release

Web Components

Applications

1.0.0-beta.41 (2019-05-26)

BREAKING: Web Components - Org scoped packages

Web Components

Applications

1.0.0-beta.40-2 (2019-05-24)

Fix

1.0.0-beta.40-1 (2019-05-24)

Fix

1.0.0-beta.40 (2019-05-24)

BREAKING: Web Components - Org scoped packages

Applications

1.0.0-beta.39 (2019-05-18)

Web Components

Applications

1.0.0-beta.38 (2019-05-16)

Web Components

  • lazy-img: a brand new dead simple Web Component to lazy load images 🎉 (CHANGELOG)

  • core: v1.0.0-beta.33 (CHANGELOG)

  • inline-editor: v1.0.0-alpha.6 (CHANGELOG)

Applications

1.0.0-beta.37 (2019-04-30)

Web Components

  • highlight-code: v1.0.0-alpha.14 (CHANGELOG)

Applications

1.0.0-beta.36 (2019-04-30)

Web Components

1.0.0-beta.35 (2019-04-30)

Web Components

Applications

1.0.0-beta.34 (2019-04-19)

Web Components

1.0.0-beta.33 (2019-04-18)

Applications

Web Components

1.0.0-beta.32 (2019-04-14)

Web Components

  • remote: v1.0.0-alpha.6 & v1.0.0-alpha.7 (CHANGELOG)

1.0.0-beta.31 (2019-03-08)

Web Components

1.0.0-beta.30 (2019-03-07)

Web Components

Others

1.0.0-beta.29 (2019-03-03)

Web Components

  • highlight-code: v1.0.0-alpha.12 (CHANGELOG)

Notes

This CHANGELOG lists the tags applied on the all repo respectively the releases of the all DeckDeckGo mono-repo.

For more details about the particular release of a component, an app, the documentation or the infrastructure, checkout their corresponding CHANGELOG.