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

bootstrap-modal

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-modal

The default blueprint for ember-cli addons.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
84
decreased by-62.83%
Maintainers
1
Weekly downloads
 
Created
Source

bootstrap-modal

Usage

Installation

ember install bootstrap-modal

Using

{{#if showModal}}
  {{#bootstrap-modal close=(action 'toggleShowModal') closeOnOverlayClick=true}}
    <div class="modal-header">
      <button type="button" class="close" aria-label="Close" {{action 'toggleShow'}}>
        <span aria-hidden="true">&times;</span>
      </button>
      <h4 class="modal-title">Test</h4>
    </div>

    <div class="modal-body">
      Content Here
    </div>

    <div class="modal-footer">
      <button {{action 'toggleShow'}} type="button" class="btn btn-primary">
        Close
      </button>
    </div>
  {{/bootstrap-modal}}
{{/if}}

The toggleShowModal is an action that toggles the showModal boolean.

Developing

Follow the steps below to start the dummy app, and work on contributing to this addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

  • ember server
  • Visit your app at http://localhost:4200.

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Keywords

FAQs

Package last updated on 23 Dec 2015

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