mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Update Scrollspy doc to include missing method options (#27754)
This commit is contained in:
		
							parent
							
								
									3100a3a95e
								
							
						
					
					
						commit
						0a55c7a8f6
					
				| 
						 | 
					@ -306,6 +306,18 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
 | 
				
			||||||
      <td>10</td>
 | 
					      <td>10</td>
 | 
				
			||||||
      <td>Pixels to offset from top when calculating position of scroll.</td>
 | 
					      <td>Pixels to offset from top when calculating position of scroll.</td>
 | 
				
			||||||
    </tr>
 | 
					    </tr>
 | 
				
			||||||
 | 
					    <tr>
 | 
				
			||||||
 | 
					      <td>method</td>
 | 
				
			||||||
 | 
					      <td>string</td>
 | 
				
			||||||
 | 
					      <td>auto</td>
 | 
				
			||||||
 | 
					      <td>Finds which section the spied element is in. <code>auto</code> will choose the best method get scroll coordinates. <code>offset</code> will use jQuery offset method to get scroll coordinates. <code>position</code> will use jQuery position method to get scroll coordinates.</td>
 | 
				
			||||||
 | 
					    </tr>
 | 
				
			||||||
 | 
					    <tr>
 | 
				
			||||||
 | 
					      <td>target</td>
 | 
				
			||||||
 | 
					      <td>string</td>
 | 
				
			||||||
 | 
					      <td></td>
 | 
				
			||||||
 | 
					      <td>Specifies element to apply Scrollspy plugin.</td>
 | 
				
			||||||
 | 
					    </tr>
 | 
				
			||||||
  </tbody>
 | 
					  </tbody>
 | 
				
			||||||
</table>
 | 
					</table>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue