network-information

WebJar for network-information

License

License

MIT
Categories

Categories

Net ORM Data
GroupId

GroupId

org.webjars.bowergithub.jorgecasar
ArtifactId

ArtifactId

network-information
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

network-information
WebJar for network-information
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jorgecasar/network-information

Download network-information

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jorgecasar/network-information/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jorgecasar</groupId>
    <artifactId>network-information</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jorgecasar/network-information/
implementation 'org.webjars.bowergithub.jorgecasar:network-information:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jorgecasar/network-information/
implementation ("org.webjars.bowergithub.jorgecasar:network-information:1.0.0")
'org.webjars.bowergithub.jorgecasar:network-information:jar:1.0.0'
<dependency org="org.webjars.bowergithub.jorgecasar" name="network-information" rev="1.0.0">
  <artifact name="network-information" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jorgecasar', module='network-information', version='1.0.0')
)
libraryDependencies += "org.webjars.bowergithub.jorgecasar" % "network-information" % "1.0.0"
[org.webjars.bowergithub.jorgecasar/network-information "1.0.0"]

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.

Published on webcomponents.org

<network-information>

Implements Network Information API, which enables web applications to access information about the network connection in use by the device.

Installation

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Usage

<dom-bind>
  <template>
    <network-information
      api-supported="{{apiSupported}}"
      on-line="{{onLine}}"
      type="{{type}}"
      effective-type="{{effectiveType}}"
      downlink-max="{{downlinkMax}}"
      downlink="{{downlink}}"
      rtt="{{rtt}}">
    </network-information>
    <ul>
      <li>API supported: [[apiSupported]]</li>
      <li>OnLine: [[onLine]]</li>
      <li>Type: [[type]]</li>
      <li>Efective type: [[effectiveType]]</li>
      <li>Downlink Max: [[downlinkMax]]</li>
      <li>Downlink: [[downlink]]</li>
      <li>Rtt: [[rtt]]</li>
    </ul>
  </template>
</dom-bind>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

Spec. Network Information API.

License

MIT is open-sourced software licensed under the MIT license.

Versions

Version
1.0.0