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

@goodgamestudios/cxf-dialog

Package Overview
Dependencies
Maintainers
24
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goodgamestudios/cxf-dialog

CXF plugin for dialog managing

  • 1.6.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-75%
Maintainers
24
Weekly downloads
 
Created
Source

API to control dialogs and popups

Dialogs

  • cxf.emit('cxf.dialog.open', url: string) - creates a dialog
  • cxf.emit('cxf.dialog.close', url: string) - removes a dialog

Popups

  • cxf.emit('cxf.popup.open', {id: string, url: string}) - creates a popup with specified id
  • cxf.emit('cxf.popup.close', {id: string}) - removes a popup with specified id

Close Dialog/Popup from inside

      window.parent.postMessage({
        name: `cxf.popup.close`,
        payload: {
          id: url.searchParams.get('elementId')
        },
      }, '*');

Popups vs Dialogs

You can create multiple popups at the same page by specifying id. Dialog can be only single.

CI/CD

  • qa branch publishes with @qa tag and appends a pre-release postfix. Example: 1.4.1-qa.1
  • master branch publishes with @latest tag. Example: 1.4.1

How to create a feature

  • branch from qa
  • make feature
  • stage changes
  • run npm run commit
  • push a new branch to the repo
  • create merge request (MR)
  • merge MR to qa branch

How to publish

  • merge qa to master

FAQs

Package last updated on 13 Oct 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