alump-dbar

WebJar for alump-dbar

License

License

Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-alump-alump-dbar
Last Version

Last Version

0.2.0-alpha1
Release Date

Release Date

Type

Type

jar
Description

Description

alump-dbar
WebJar for alump-dbar
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/alump/alump-dbar

Download github-com-alump-alump-dbar

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-alump-alump-dbar/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-alump-alump-dbar</artifactId>
    <version>0.2.0-alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-alump-alump-dbar/
implementation 'org.webjars.bower:github-com-alump-alump-dbar:0.2.0-alpha1'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-alump-alump-dbar/
implementation ("org.webjars.bower:github-com-alump-alump-dbar:0.2.0-alpha1")
'org.webjars.bower:github-com-alump-alump-dbar:jar:0.2.0-alpha1'
<dependency org="org.webjars.bower" name="github-com-alump-alump-dbar" rev="0.2.0-alpha1">
  <artifact name="github-com-alump-alump-dbar" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-alump-alump-dbar', version='0.2.0-alpha1')
)
libraryDependencies += "org.webjars.bower" % "github-com-alump-alump-dbar" % "0.2.0-alpha1"
[org.webjars.bower/github-com-alump-alump-dbar "0.2.0-alpha1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : polymer jar [2.0.0,3)
org.webjars.bower : iron-resizable-behavior jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Distribution Bar Web Component <alump-dbar>

Build Status Published on webcomponents.org GitHub tag Bower GitHub issues

Online demo at webcomponents.org

WebJar Maven dependency (Vaadin 10)

When 0.2.0 is released, you can pull webjar to your Vaadin 10 project with Maven dependency snipplet:

<dependency>
    <groupId>org.webjars.bowergithub.alump</groupId>
    <artifactId>alump-dbar</artifactId>
    <version>0.2.0</version>
</dependency>

Examples

<alump-dbar values="[34,66]" class="alump-shade alump-r20" style="width: 100%;">
</alump-dbar>

Width in pixels can be also defined with width attribute (width can not be left undefined):

<alump-dbar values="[34,66]" class="alump-shade alump-r20" width="300">
</alump-dbar>

Usage

First install dependency to your (Polymer) project with Bower

bower install alump-dbar

Then link to element from your Polymer html file (your relative path might be different)

<link rel="import" href="../bower_components/alump-dbar/alump-dbar.html">

After this you can just add example above to your HTML file

Releases

0.2.0-alpha1 - alpha2 (2018-03-09)

  • Moved to alphas to try to figure out how to get webjars generated correctly
  • Work to pair web component with Vaadin 10 started
  • Adding labels for later use with Vaadin 10 (alpha 2)

0.1.6 (2018-03-09)

  • Finally found the actual SemVer issue breaking webjaring, I hope.

0.1.5 (2018-03-09)

  • Fixing linting error left in 0.1.4
  • Also update some development dependencies

0.1.4 (2018-03-09)

  • Just trying resolve webjaring SemVer issues
  • Minor code clean ups
  • Upgrading dependencies to current versions

0.1.3 (2017-08-09)

  • Element will now automatically resize itself if size is changed because relative size to it's parent

0.1.2 (2017-08-07)

  • aria-label and aria-valuenow attributes are now generated for items
  • Item formatted can now return number, string or object (with 'text' and 'html' values). Object to be used when HTML coding is used.
  • Color of items can be now be defined in itemFormatter (will override theming colors when defined)
  • Using now background CSS property on items, to allow gradients and images
  • Fix naming of valuesum to valueSum
  • --alump-dbar-font-size and --alump-dbar-font-family custom styling properties added
  • Fix --alump-dbar-text-shadow to always apply when defined
  • Make update (schedule render) function public, usually there should not be need to call this

0.1.1 (2017-08-04)

  • Fixing project metadata to improve presentation at webcomponents.org
  • Fix overdrawn content, adding --alump-dbar-padding variable

0.1.0 (2017-08-04)

  • Initial release

Install the Polymer-CLI

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.

Versions

Version
0.2.0-alpha1
0.1.6