Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
[skip ci] Autogenerate README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedium-bot committed Feb 4, 2016
1 parent eb6cca9 commit 1156f2f
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ thing! https://github.com/PolymerLabs/tedium/issues
-->

[![Build Status](https://travis-ci.org/PolymerElements/paper-dialog-scrollable.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-dialog-scrollable)
[![Build status](https://travis-ci.org/PolymerElements/paper-dialog-scrollable.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-dialog-scrollable)

_[Demo and API Docs](https://elements.polymer-project.org/elements/paper-dialog-scrollable)_
_[Demo and API docs](https://elements.polymer-project.org/elements/paper-dialog-scrollable)_


##<paper-dialog-scrollable>
Expand Down Expand Up @@ -42,4 +42,35 @@ indicating there is more content above. It shows a bottom divider if it is scrol
the last child in its parent container, indicating there is more content below. The bottom divider
is hidden if it is scrolled to the bottom.

If `paper-dialog-scrollable` is not a direct child of the element implementing `Polymer.PaperDialogBehavior`,
remember to set the `dialogElement`:

```html
<paper-dialog-impl id="myDialog">
<h2>Header</h2>
<div class="my-content-wrapper">
<h4>Sub-header</h4>
<paper-dialog-scrollable>
Lorem ipsum...
</paper-dialog-scrollable>
</div>
<div class="buttons">
<paper-button>OK</paper-button>
</div>
</paper-dialog-impl>

<script>
var scrollable = Polymer.dom(myDialog).querySelector('paper-dialog-scrollable');
scrollable.dialogElement = myDialog;
</script>
```

### Styling

The following custom properties and mixins are available for styling:

| Custom property | Description | Default |
| --- | --- | --- |
| `--paper-dialog-scrollable` | Mixin for the scrollable content | {} |


0 comments on commit 1156f2f

Please sign in to comment.