14.0.1 • Published 6 years ago

ember-frost-info-bar v14.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

ember-frost-info-bar

Dependencies

Ember NPM

Health

Travis Coveralls

Security

bitHound

Ember Observer score

EmberObserver

Installation

ember install ember-frost-info-bar

Examples

Template

{{frost-info-bar
  hook='info-bar'
  icon=(component 'frost-icon'
    hook='baconIcon'
    isVisible=isIconVisible
    icon='bacon'
    pack='dummy'
  )
  title=(component 'text-box'
    isVisible=isTitleVisible
    text='<placeholder: title>'
  )
  summary=(component 'text-box'
    isVisible=isSummaryVisible
    text='<placeholder: summary>'
  )
  scope=(component 'text-box'
    isVisible=isScopeVisible
    text='<placeholder: controls>'
  )
  controls=(array
    (component 'frost-button'
      isVisible=isControlsVisible
      icon='add'
      text='Click me!'
      onClick=(action 'triggerAction')
    )
  )
}}

Testing with ember-hook

The info-bar component is accessible using ember-hook with the top level hook name or you can access the internal components as well -

  • Default top level hook - $hook('info-bar')
  • Icon slot hook - $hook('<hook-name>-icon')
  • Title slot hook - $hook('<hook-name>-title')
  • Summary slot hook - $hook('<hook-name>-summary')'
  • Controls slot hook - $hook('<hook-name>-controls')'
  • Controls slot item hook - $hook('<hook-name>-controls-<index>')'
  • Actions slot - $hook('<hook-name>-action')'

Development

Setup

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

Development Server

A dummy application for development is available under ember-frost-info-bar/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.

14.0.1

6 years ago

14.0.0

6 years ago

13.0.0

6 years ago

12.0.0

6 years ago

11.0.0

6 years ago

10.0.1

6 years ago

10.0.0

7 years ago

9.0.0

7 years ago

8.3.9

7 years ago

8.3.8

7 years ago

8.3.7

7 years ago

8.3.6

7 years ago

8.3.5

7 years ago

8.3.4

7 years ago

8.3.3

7 years ago

8.3.2

7 years ago

8.3.1

7 years ago

8.3.0

7 years ago

8.2.1

7 years ago

8.2.0

7 years ago

8.1.4

7 years ago

8.1.3

7 years ago

8.1.2

7 years ago

8.1.1

7 years ago

8.1.0

7 years ago

8.0.0

7 years ago

7.0.2

7 years ago

7.0.1

7 years ago

7.0.0

8 years ago

6.0.0

8 years ago

5.0.1

8 years ago

5.0.0

8 years ago

4.0.1

8 years ago

4.0.0

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.1

8 years ago