Skip to content

Commit 56c1735

Browse files
author
Emmanuel Garcia
authored
Merge pull request #118 from PolymerElements/paper-header-mixin
A few things required to show the deprecation warning
2 parents 1832e9d + 59d0397 commit 56c1735

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

iron-component-page.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
Loads Polymer element and behavior documentation using
2525
[Hydrolysis](https://github.com/PolymerLabs/hydrolysis) and renders a complete
2626
documentation page including demos (if available).
27+
28+
To display a warning inside an `iron-component-page` element,
29+
add the `.warning` class to a child.
2730
-->
2831

2932
<dom-module id="iron-component-page">
@@ -226,6 +229,7 @@
226229
<div id="catalog-heading" catalog-only>
227230
<h2><span>[[active]]</span> <span class="version" hidden$="[[!version]]">[[version]]</span></h2>
228231
</div>
232+
<content select=".warning"></content>
229233
<iron-doc-viewer prefix="[[_fragmentPrefix]]" id="viewer" descriptor="{{_activeDescriptor}}"
230234
on-iron-doc-viewer-component-selected="_handleComponentSelectedEvent"></iron-doc-viewer>
231235
<div id="nodocs" hidden$="[[_activeDescriptor]]" class="no-docs">

0 commit comments

Comments
 (0)