px-alert-message

WebJar for px-alert-message

License

License

BSD 3-Clause
GroupId

GroupId

org.webjars.bowergithub.predixdesignsystem
ArtifactId

ArtifactId

px-alert-message
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

px-alert-message
WebJar for px-alert-message
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/predixdesignsystem/px-alert-message

Download px-alert-message

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [1.9.0,3)
org.webjars.bowergithub.polymerelements : app-localize-behavior jar [2.0.0,3)
org.webjars.bowergithub.predixdesignsystem : px-alert-label jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

px-alert-message Build Status


Overview

Px-alert-message is a Predix UI component that appears in a queue within the message container.

Usage

Prerequisites

  1. node.js
  2. npm
  3. bower
  4. webcomponents-lite.js polyfill

Node, npm and bower are necessary to install the component and dependencies. webcomponents.js adds support for web components and custom elements to your application.

Getting Started

First, install the component via bower on the command line.

bower install px-alert-message --save

Second, import the component to your application with the following tag in your head.

<link rel="import" href="/bower_components/px-alert-message/px-alert-message.html"/>

Finally, use the component in your application:

<px-alert-message
    type="information"
    message-title="Heads up!"
    message="This definitely needs our attention."
    action="https://www.predix.io/"
    auto-dismiss="5000">
</px-alert-message>

Documentation

Read the full API and view the demo here.

Local Development

From the component's directory...

$ npm install
$ bower install
$ gulp sass

From the component's directory

$ gulp serve

Navigate to the root of that server (e.g. http://localhost:8080/) in a browser to open the API documentation page, with link to the "Demo" / working examples.

LiveReload

By default gulp serve is configured to enable LiveReload and will be watching for modifications in your root directory as well as /css.

Extending behavior

See Polymer composition patterns

GE Coding Style Guide

GE JS Developer's Guide

Known Issues

Please use Github Issues to submit any bugs you might find.

org.webjars.bowergithub.predixdesignsystem

Predix Design System

Versions

Version
1.2.0