# things-view-open-behavior

## This is a behavior that opens a view.

There are two kinds of funtions to open a view: the default dialog and the FullScreen dialog.

***
Open the view with a fullscreen dialog. `@event things-open-full-screen-view`
***
Open the view with the default dialog. `@event things-open-popup-view`
***
Close the request with dialog. `@event things-close-popup-view`

*****
</br></br>


## 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-view-open-behavior/`, where `things-view-open-behavior` is the name of the directory containing it.
