http-method-label

WebJar for http-method-label

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.webjars.bowergithub.advanced-rest-client
ArtifactId

ArtifactId

http-method-label
Last Version

Last Version

2.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

http-method-label
WebJar for http-method-label
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/advanced-rest-client/http-method-label

Download http-method-label

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/http-method-label/ -->
<dependency>
    <groupId>org.webjars.bowergithub.advanced-rest-client</groupId>
    <artifactId>http-method-label</artifactId>
    <version>2.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/http-method-label/
implementation 'org.webjars.bowergithub.advanced-rest-client:http-method-label:2.0.3'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/http-method-label/
implementation ("org.webjars.bowergithub.advanced-rest-client:http-method-label:2.0.3")
'org.webjars.bowergithub.advanced-rest-client:http-method-label:jar:2.0.3'
<dependency org="org.webjars.bowergithub.advanced-rest-client" name="http-method-label" rev="2.0.3">
  <artifact name="http-method-label" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.advanced-rest-client', module='http-method-label', version='2.0.3')
)
libraryDependencies += "org.webjars.bowergithub.advanced-rest-client" % "http-method-label" % "2.0.3"
[org.webjars.bowergithub.advanced-rest-client/http-method-label "2.0.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

http-method-label

Published on NPM

Tests and publishing

An HTTP method name display label for lists.

<http-method-label method="get"></http-method-label>
<http-method-label method="POST"></http-method-label>
<http-method-label method="Put"></http-method-label>
<http-method-label method="delete"></http-method-label>
<http-method-label method="patch"></http-method-label>

Usage

Installation

npm install @api-components/http-method-label --save

In an html file

<html>
  <head>
    <script type="module">
      import '@api-components/http-method-label/http-method-label.js';
    </script>
  </head>
  <body>
    <http-method-label method="get"></http-method-label>
  </body>
</html>

In a web component element

import { LitElement, html, css } from 'lit-element';
import '@api-components/http-method-label/http-method-label.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
    <http-method-label method="get"></http-method-label>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/http-method-label
cd http-method-label
npm install

Running the demo locally

npm start

Running the tests

npm test
org.webjars.bowergithub.advanced-rest-client

ARC

A set of repositories related to the Advanced REST Client and API console (by Mulesoft)

Versions

Version
2.0.3