Socket
Socket
Sign inDemoInstall

gdg-group

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdg-group

A GDG web component made with Nutmeg


Version published
Weekly downloads
2
decreased by-90.48%
Maintainers
1
Weekly downloads
 
Created
Source

<gdg-group>

A web component that displays a GDG name (and optionally the next scheduled event and/or other text) and links to the group's Meetup page (and event page, if the next event is displayed).

demo image

Install

Polyfill tags if you need them. This will include ShadowDOM and Custom Elements support.

<script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-sd-ce.js"></script>

Loading this component. It would be a good idea to use a specific version instead of latest.

<script src="https://unpkg.com/gdg-group@latest/dist/gdg-group.min.js"></script>

Usage

Properties:

url-name: string

  • required
  • the name that appears in the Meetup url

show-next-event: boolean

  • optional
  • include this property if you would like to display the next scheduled event

group-name: string

  • optional
  • set this value if you would like to display something other than the GDG group's official Meetup name

image-url: string

  • optional
  • set this value if you would like to override the default image

image-width: string

  • optional
  • set this value if you would like to override the default image width
  <gdg-group url-name="gdgmadison" show-next-event></gdg-group>

  <gdg-group url-name="cincy-android" group-name="GDG Cincinnati"></gdg-group>

  <gdg-group url-name="gdg-tc" image-width="90">Slot content</gdg-group>

Live demo on codepen.

License

GdgGroup is released under an MIT license.

Built, tested, and published with Nutmeg.

Keywords

FAQs

Package last updated on 02 Aug 2018

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