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

blip-cards

Package Overview
Dependencies
Maintainers
1
Versions
411
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blip-cards

Reusable BLiP cards using Vue

  • 1.19.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
354
decreased by-60.84%
Maintainers
1
Weekly downloads
 
Created
Source

blip-cards

Reusable BLiP cards using Vue

  • No need to render the cards yourself
  • One simple blip-card tag

Usage

NPM

$ npm install blip-cards

Just import or require like so:

var Vue = require('vue');
var blipCards = require("blip-cards");

var components = blipCards.install(Vue);

Then, reference the cards via tag as following

<blip-card :document="document" :position="'left'" :date="13:00 PM" :on-selected="function" :on-save="function" :editable="true" :hide-options="false" />
AttributeDescriptionType
documentBLiP JSON envelope (REQUIRED)Object
positionCard position, possible values are 'left' and 'right'. Default: 'left'String
dateDate that will be shown below the card (OPTIONAL)String
on-selectedcallback function that will be called when the user interacts with the card (OPTIONAL)Function
on-savecallback function that will be called when the user saves the card after editing (OPTIONAL)Function
editablemake the card editable (OPTIONAL)Function
hide-optionsUsed only in the select with scope immediate. This is used to hide the quick reply options (OPTIONAL)Boolean

Contributions

Any contribution to the code via pull request would be nice and any idea and/or suggestion are very welcome.

However, please do not feel bad if your pull requests or contributions do not get merged or implemented into blip-cards.

Building

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run bundle:min

License

blip-cards is open-sourced software licensed under the MIT license.

Keywords

FAQs

Package last updated on 21 Nov 2017

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