Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

blackstone-ui

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blackstone-ui

Web components, classes, and utilities for creating PWAs

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

Blackstone UI (BUI)

demo demo docs

Web components for creating interfaces - built with lit-html and lit-element by Blackstone Publishing

preview

Installation

Blackstone-UI is available as an npm package

npm install blackstone-ui --save

Or if you want the latest cutting-edge version

npm install https://github.com/kjantzer/bui.git --save

Overview

Web components (or custom elements) allow us to encapsalate logic, designs, and features in html elements. Along with custom elements, various "presenters" (or views) have been created for all the ways an app needs to display data

Developing

lit-html and lit-element are being used to create and render custom elements. The beauty in these tools is that they are simply syntactic sugar for native web technologies

lit-html - this is a templating tool that replaces a need for something like mustache.js

lit-element - this is a base class for that makes it easier to make custom elements removing a lot of the boilerplate code usually needed.

Demo

Install the parcel bundler

npm install -g parcel-bundler

Then cd to this directory and run:

npm start

Notes

  • consider switching out moment.js for something lighter weight (like day.js)

Keywords

custom elements

FAQs

Package last updated on 21 May 2020

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