New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@godown/element

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@godown/element

Component base class for godown

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

@godown/element

Component base class for godown.

Usage

import { GodownElement, component } from "@godown/element";

@component({
  tagName: "my-element",
  styles: [ /* ...styles */ ],
  autoDefine: true
})
class MyElement extents GodownElement {
}
<my-element></my-element>

With config

import { GodownElement, GodownConfig, godown, styles } from "@godown/element";

@godown("element")
@styles(/* ...styles */)
class MyElement extents GodownElement {
  static godownConfig = new GodownConfig({
    prefix: "my",
  });
}

MyElement.define()

Keywords

custom-elements

FAQs

Package last updated on 23 Jul 2025

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