Skip to content

Commit

Permalink
Drop Polymer-specific iron-resizable-behavior demo [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Sep 26, 2018
1 parent 1ae65ba commit b6737ba
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions demo/split-layout-integration-demos.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,6 @@ <h3>Google Maps</h3>
</template>
</vaadin-demo-snippet>

<h3>Resize Notification for the Nested Elements</h3>
<vaadin-demo-snippet id="split-layout-basic-integration-resize-notification-for-the-nested-elements">
<template preserve-content>
<vaadin-split-layout>
<div>First</div>
<custom-resizable>Second</custom-resizable>
</vaadin-split-layout>
<script>
window.addDemoReadyListener('#split-layout-basic-integration-resize-notification-for-the-nested-elements', function(document) {
if (!window.customElements.get('custom-resizable')) {
Polymer({
is: 'custom-resizable',
behaviors: [
Polymer.IronResizableBehavior
],
listeners: {
'iron-resize': '_onIronResize'
},
_onIronResize: function() {
console.log('Resized');
}
});
}
});
</script>
</template>
</vaadin-demo-snippet>

</template>
<script>
class SplitLayoutIntegrationDemos extends DemoReadyEventEmitter(SplitLayoutDemo(Polymer.Element)) {
Expand Down

0 comments on commit b6737ba

Please sign in to comment.