Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@glomex/glomex-dialog

Package Overview
Dependencies
Maintainers
13
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glomex/glomex-dialog

A dialog web component that allows docking a video player or putting it in a lightbox

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
201
increased by116.13%
Maintainers
13
Weekly downloads
 
Created
Source

glomex-dialog

A dialog web component that allows docking a video player or putting it in a lightbox

See an example here: http://unpkg.com/@glomex/glomex-dialog/example.html

Usage

<script type="module">
  import 'http://unpkg.com/@glomex/glomex-dialog';
</script>
<!-- adjusting mode to "dock" or "lightbox" -->
<glomex-dialog id="inlinePlayer" mode="inline" dock-target-inset="0px 10px auto auto">
  <div slot="dialog-element">
    <a-video-player></a-video-player>
  </div>
</glomex-dialog>

API

Attributes

AttributeValues
aspect-ratio16:9 (default)
dock-target#anotherElement
dock-target-inset0px 10px auto auto
modeinline, dock, lightbox

Properties

PropertyModifiersType
aspectRatioreadonlynumber
dockTargetreadonlyElement | null
placeholderreadonlyElement | null

Methods

MethodType
refreshDockTarget(): void

Events

EventType
toggledialogCustomEvent<{ mode: any; }>

License

Apache 2.0 License

Keywords

FAQs

Package last updated on 17 May 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc