Skip to content

Commit 6e064a1

Browse files
committed
Update position docs
1 parent d4478fb commit 6e064a1

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

docs/1.1/Classes/Flex/Position.html

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h1>Position</h1>
9393
<section class="section">
9494
<div class="pointer"></div>
9595
<div class="abstract">
96-
<p>Default value.</p>
96+
<p>Default value. Positioned according to the flex container's flow. The item is positioned using Insets properties (top, bottom, left, right, start, end) from its normal position within its flex container and will take up space within the flex container. This node will always form a containing block.</p>
9797

9898
</div>
9999
<div class="declaration">
@@ -127,7 +127,7 @@ <h4>Declaration</h4>
127127
<section class="section">
128128
<div class="pointer"></div>
129129
<div class="abstract">
130-
<p>Positioned absolutely in regards to its container. The item is positionned using properties top, bottom, left, right, start, end.</p>
130+
<p>Positioned absolutely, removed from the flex container's flow. The item is positioned using Insets properties (top, bottom, left, right, start, end). Insets will offset the node from its containing block.</p>
131131

132132
</div>
133133
<div class="declaration">
@@ -146,6 +146,40 @@ <h4>Declaration</h4>
146146
</li>
147147
</ul>
148148
</div>
149+
<div class="task-group">
150+
<ul>
151+
<li class="item">
152+
<div>
153+
<code>
154+
<a name="/s:10FlexLayout0A0C8PositionO8staticA2EmF"></a>
155+
<a name="//apple_ref/swift/Element/static" class="dashAnchor"></a>
156+
<a class="token" href="#/s:10FlexLayout0A0C8PositionO8staticA2EmF">static</a>
157+
</code>
158+
</div>
159+
<div class="height-container">
160+
<div class="pointer-container"></div>
161+
<section class="section">
162+
<div class="pointer"></div>
163+
<div class="abstract">
164+
<p>Positioned like relative but ignores insets and will not form a containing block.</p>
165+
166+
</div>
167+
<div class="declaration">
168+
<h4>Declaration</h4>
169+
<div class="language">
170+
<p class="aside-title">Swift</p>
171+
<pre class="highlight"><code><span class="k">case</span> <span class="n">static</span></code></pre>
172+
173+
</div>
174+
</div>
175+
<div class="slightly-smaller">
176+
<a href="https://github.com/lucdion/FlexLayout/tree/master/Sources/FlexLayout.swift#L1061">Show on GitHub</a>
177+
</div>
178+
</section>
179+
</div>
180+
</li>
181+
</ul>
182+
</div>
149183
</section>
150184
</section>
151185
<section id="footer">

0 commit comments

Comments
 (0)