Wondering what’s next for npm?Check out our public roadmap! »

    @advanced-rest-client/cookie-details
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.1 • Public • Published

    Published on NPM

    Build Status

    Published on webcomponents.org

    An element to render cookie object details.

    Usage

    Installation

    npm install --save @advanced-rest-client/cookie-details
    

    In an html file

    <html>
      <head>
        <script type="module">
          import './node_modules/@advanced-rest-client/cookie-details/cookie-details.js';
        </script> 
      </head>
      <body>
        <cookie-details></cookie-details>
      </body>
    </html>

    In a LitElement

    import { LitElement, html } from 'lit-element';
    import '@advanced-rest-client/cookie-details/cookie-details.js';
     
    class SampleElement extends PolymerElement {
      render() {
        return html`
        <cookie-details
          .cookie="${this.cookie}"
          @delete="${this._cookieDeleteHandler}"
          @edit="${this._cookieEditHandler}"></cookie-details>
        `;
      }
     
      _cookieDeleteHandler(e) {
        ...
      }
     
      _cookieEditHandler(e) {
        ...
      }
    }
    customElements.define('sample-element', SampleElement);

    Development

    git clone https://github.com/advanced-rest-client/cookie-details
    cd cookie-details
    npm install

    Running the demo locally

    npm start

    Running the tests

    npm test

    API components

    This components is a part of API components ecosystem

    Install

    npm i @advanced-rest-client/cookie-details

    DownloadsWeekly Downloads

    0

    Version

    3.0.1

    License

    Apache-2.0

    Unpacked Size

    40.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar