2.0.1 • Published 9 years ago

ember-frost-link v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

This repo has been ported to ember-frost-core - no more PRs will be accepted.

ember-frost-link Travis Coveralls NPM

Installation

ember install ember-frost-link

API

AttributeTypeValueDescription
disabledbooleanfalsedefault: Click to redirect from one route to another
true:no_entry_sign: Can't click this! :notes:
sizestringsmallThe smallest link you ever did see
mediumdefault: Not quite as small as small, but not very big either
largeNow that's what I call a link!
prioritystringprimaryCall-to-action :telephone:
secondarydefault: Run of the mill, garden variety
tertiaryLow-key, subdued

Examples

Primary small

{{#frost-link
  'routename'
  priority='primary'
  size='small'
}}
  <div class='text'>Primary</div>
{{/frost-link}}

Font based on size

{{#frost-link
  'routename'
  priority='tertiary'
}}
  <div class='text'>Tertiary</div>
{{/frost-link}}

Development

Setup

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

Development Server

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

Testing

Run npm test from the root of the project to run linting checks as well as execute the test suite and output code coverage.

2.0.1

9 years ago

2.0.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago