Socket
Socket
Sign inDemoInstall

flexi-widget

Package Overview
Dependencies
317
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    flexi-widget

A Vue.js component that displays a widget


Version published
Weekly downloads
9
Maintainers
1
Install size
3.40 MB
Created
Weekly downloads
 

Readme

Source

Flexi Widget

Reusable, mobile responsive Vue component

Installation

npm i --save-dev flexi-widget

Browser

Include the script file, then install the component with Vue.use(FlexiWidget); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/flexi-widget/dist/flexi-widget.min.js"></script>
<script type="text/javascript">
  Vue.use(FlexiWidget);
</script>

Module

import FlexiWidget from 'flexi-widget';

Usage

Once installed, it can be used as simply as:

<flexi-widget :color="'blue'"
              :header="'Flexi Widget'"
              :result="202030"
              :progressBar="50">
</flexi-widget>
.container{
    display: flex;
    //optionial 
    #use flex-direction: 'column' or 'row'
}

API

Props

NameTypeDescription
colorStringChanges the theme color of the flexi widget.
headerStingSet a header.
resultString NumberSet a main value in the widget
progressBarNumberSet a value for progress bar

Keywords

FAQs

Last updated on 19 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc