This package has been deprecated

Author message:

Deprecated. Please, do not use this component.

@api-components/api-candidates-dialog
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Published on NPM

Build Status

Published on webcomponents.org

api-candidates-dialog

A dialog to select API main file from API zip package

<api-candidates-dialog id="dialog" candidates='["api.raml", "api.yaml", "api.json"]'></api-candidates-dialog>
<button onclick="dialog.opened = true">Open</button>

API components

This components is a part of API components ecosystem

Usage

Installation

npm install --save @api-components/api-candidates-dialog

In an html file

<html>
  <head>
    <script type="module">
      import '@api-components/api-candidates-dialog/api-candidates-dialog.js';
    </script>
  </head>
  <body>
    <api-candidates-dialog></api-candidates-dialog>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@api-components/api-candidates-dialog/api-candidates-dialog.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
    <api-candidates-dialog></api-candidates-dialog>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/api-candidates-dialog
cd api-candidates-dialog
npm install

Running the demo locally

npm start

Running the tests

npm test

Readme

Keywords

Package Sidebar

Install

npm i @api-components/api-candidates-dialog

Weekly Downloads

1

Version

3.0.0

License

Apache-2.0

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • carowright
  • jarrodek
  • lbauret
  • twoplustwoone