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

ec-table-widgets

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ec-table-widgets

Place content into a table

  • 1.0.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

TABLE WIDGET

An Apostrophe CMS module to provide a configurable table for text content, complete with size and color options.

GETTING STARTED

Prerequisites

In order to use this module, you should have:

  • NPM
  • ApostropheCMS
Installing

From within your apostrophe project directory, run npm install --save ec-table-widgets

Include widget in projects' app.js file:

  modules: {
    'ec-table-widgets': {},
    // ... other modules
}

Configuration

Colors

In css/variables.less, colors are assigned to variable names like this:

@table-color3: #861f41;
@table-color4: #6dc6e8;

These hex values can be edited without impacting the functionality. These values are used to configure the background and border colors of the table.

Size

The widget offers, by default, three size options: small, medium and large. These correspond to the tables width relative to the parent element, where 'small' is 25% of the parent, medium is 50% of the parent, and large is 100% of the parent width.

Delimiter

The character used to separate items in a row may be customized (by default '&'), so make sure the delimiter symbol does not conflict with your text content.

Screenshots

Alt text

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Keywords

FAQs

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