1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Merge branch 'bradly-affix-docs-fix' into 2.2.2-wip

This commit is contained in:
Mark Otto 2012-10-31 10:48:44 -07:00
commit bf48c31406
2 changed files with 2 additions and 2 deletions

View file

@ -1687,7 +1687,7 @@ $('[data-spy="affix"]').each(function () {
<td>offset</td> <td>offset</td>
<td>number | function | object</td> <td>number | function | object</td>
<td>10</td> <td>10</td>
<td>Pixels to offset from screen when calculating position of scroll. If a single number is provide, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provided an object <code>offset: { x: 10 }</code>. Use a function when you need to dynamically provide an offset (useful for some responsive designs).</td> <td>Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object <code>offset: { x: 10 }</code>. Use a function when you need to dynamically provide an offset (useful for some responsive designs).</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View file

@ -1617,7 +1617,7 @@ $('[data-spy="affix"]').each(function () {
<td>{{_i}}offset{{/i}}</td> <td>{{_i}}offset{{/i}}</td>
<td>{{_i}}number | function | object{{/i}}</td> <td>{{_i}}number | function | object{{/i}}</td>
<td>{{_i}}10{{/i}}</td> <td>{{_i}}10{{/i}}</td>
<td>{{_i}}Pixels to offset from screen when calculating position of scroll. If a single number is provide, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provided an object <code>offset: { x: 10 }</code>. Use a function when you need to dynamically provide an offset (useful for some responsive designs).{{/i}}</td> <td>{{_i}}Pixels to offset from screen when calculating position of scroll. If a single number is provided, the offset will be applied in both top and left directions. To listen for a single direction, or multiple unique offsets, just provide an object <code>offset: { x: 10 }</code>. Use a function when you need to dynamically provide an offset (useful for some responsive designs).{{/i}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>