[go: nahoru, domu]

Skip to content

Commit

Permalink
Add description of iframe solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
zesik committed Feb 9, 2019
1 parent b43f24e commit 1c1f62b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion example/javascripts/components/LayoutWithIFrame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,21 @@ export default class LayoutWithIFrame extends React.Component {
The 2nd pane on the right contains an <code>iframe</code> from <code>https://example.com</code>.
A simple hack is used so that dragging is not interfered.
</p>
<Lorem title="1st Pane" />
<p>Refer to the following pages for details:</p>
<ul>
<li>
<a
href="https://github.com/zesik/react-splitter-layout/blob/master/example/javascripts/components/LayoutWithIFrame.jsx"
>
Source code of this page
</a>
</li>
<li>
<a href="https://github.com/zesik/react-splitter-layout/issues/7">
Another way
</a>
</li>
</ul>
</div>
<div className="my-iframe">
{this.state.dragging && <div className="my-iframe-overlay" />}
Expand Down

0 comments on commit 1c1f62b

Please sign in to comment.