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

ember-frost-button

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-frost-button

Simple Frost Button

  • 0.3.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
2
Weekly downloads
 
Created
Source

ember-frost-button
Travis Coveralls NPM

Installation

ember install ember-frost-button

API

CategoryNameDescription
Actionson-clicktriggers associated action
CSS (Content)iconicon is part of the button
icon-texticon and text are part of the button
infoadditional info is part of the button
texttext is part of the button
CSS (Size)smallthe smallest button you ever did see
mediumnot quite as small as small, but not very big either
largenow we're getting somewhere
extra-largemy grandma, what a big button you have!
CSS (TYPE)primarydefault action on forms, etc.
secondaryaverage, garden-variety button
tertiarysubdued actions, like Cancel
Statesautofocuswave your arms and make a big racket to attract everyone's attention as soon as you render
disableddon't even think about trying to click this!

Examples

Text

{{#frost-button autofocus disabled=isDisabled class='primary small' on-click=(action 'closure')}}
  <div class='text'>Text</div>
{{/frost-button}

Icon

{{#frost-button class='tertiary medium' on-click=(action 'closure')}}
  <div class='icon'>
    {{frost-svg path='frost/add'}}
  </div>
{{/frost-button}}

Icon Text

{{#frost-button class='secondary large' on-click=(action 'closure')}}
  <div class='icon-text'>
    {{frost-svg path='frost/add'}}
    <div class='text'>Text</div>
  </div>
{{/frost-button}}

Info

{{#frost-button class='primary extra-large' on-click=(action 'closure')}}
  <div class='info'>
    {{frost-svg path='frost/add'}}
    <div class='content'>
      <div class='alias'>Info alias</div>
      <div class='details'>Info details</div>
    </div>
  </div>
{{/frost-button}}

Development

Setup

git clone git@github.com:ciena-frost/ember-frost-button.git
cd ember-frost-button
npm install && bower install

Development Server

A dummy application for development is available under ember-frost-button/tests/dummy. To run the server run ember server from the root of the repository and visit the app at http://localhost:4200.

Testing

Run ember test from the root of the project to execute the test suite and output code coverage.

Keywords

FAQs

Package last updated on 04 Feb 2016

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