network-information

WebJar for network-information

Лицензия

Лицензия

MIT
Категории

Категории

Сеть ORM Данные
Группа

Группа

org.webjars.bowergithub.jorgecasar
Идентификатор

Идентификатор

network-information
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

network-information
WebJar for network-information
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать network-information

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Модули Проекта

Данный проект не имеет модулей.

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.

Версии библиотеки

Версия
1.0.0