Socket
Book a DemoInstallSign in
Socket

@author.io/element-cell

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@author.io/element-cell

author-cell custom element (web component).

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

AuthorCellElement Build Status

Source Size Deliverable Size npm

We're using BrowserStack to make sure these components work on the browsers developers care about.

Usage

There are 4 versions of this element:

  • author-cell.min.js (ES6 Minified for Production)
  • author-cell.js (ES6 Unminified for Debugging)
  • author-cell.es5.min.js (ES5 Minified for Production)
  • author-cell.es5.js (ES5 Unminified for Debugging)

Each version has it's own source map, so it's always possible to trace activity back to a specific code block in the source.

You only need to choose one of these files. If you need to support Internet Explorer, older versions of Chrome/Firefox/Safari, then you likely need the ES5 version.

Via Global CDN

<html>
  <head>
    <script src="https://cdn.author.io/author-elements/base/1.0.0/author-base.min.js"></script>
    <script src="https://cdn.author.io/author-elements/cell/x.x.x/author-cell.min.js"></script>
  </head>
</html>

Via npm

If the base class is not yet installed, install it:

npm install @author.io/element-base -S

Next, install the cell module locally:

npm install @author.io/element-cell -S

Then include them in your HTML:

<html>
  <head>
    <script src="./node_modules/@author.io/element-base/dist/author-base.min.js"></script>
    <script src="./node_modules/@author.io/element-cell/dist/author-cell.min.js"></script>
  </head>

  <body>

  </body>
</html>

Keywords

author

FAQs

Package last updated on 14 Apr 2019

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