# things-extension

## Resource type. This is a component that receives and displays extended attributes based on the resource ID.

```html
<things-extension
  id="ext-properties"
  class="detail-flex"
  resource-type="EventAction"
  resource-id="{{resourceId}}">
</things-extension>
```
# things-prop-extension

## Resource type. This is a component that receives and displays extended attributes that can set up the extended attribute type based on the resource ID.

```html
<things-prop-extension
  id="alarm-params"
  resource-type="EventAction"
  resource-id="[[resourceId]]"
  prop-type="Alarm">
</things-prop-extension>
```

## Dependencies

Element dependencies are managed via [Bower](http://bower.io/). You can install that via:

    npm install -g bower

Then, go ahead and download the element's dependencies:

    bower install

## Playing With Your Element

If you wish to work on your element in isolation, we recommend that you use
[Polyserve](https://github.com/PolymerLabs/polyserve) to keep your element's
bower dependencies in line. You can install it via:

    npm install -g polymer-cli

And you can run it via:

    polymer serve

Once running, you can preview your element at
`http://localhost:8080/components/things-extension/`, where `things-extension` is the name of the directory containing it.
