mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							75 lines
						
					
					
						
							3.0 KiB
						
					
					
				
			
		
		
	
	
							75 lines
						
					
					
						
							3.0 KiB
						
					
					
				| @page
 | |
| @model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.DropdownsModel
 | |
| @{
 | |
|     ViewData["Title"] = "Dropdowns";
 | |
| }
 | |
| 
 | |
| <h2>Dropdowns</h2>
 | |
| 
 | |
| <p>Based on <a href="https://getbootstrap.com/docs/4.1/components/dropdowns/" target="_blank"> Bootstrap button</a>.</p>
 | |
| 
 | |
| <h4># Example</h4>
 | |
| 
 | |
| <div class="demo-with-code">
 | |
|     <div class="demo-area">
 | |
| 
 | |
|         <abp-dropdown direction="Right">
 | |
|             <abp-dropdown-button dropdown-style="Split" link="true" href="#" button-type="Primary" text="Dropdown"/>
 | |
|             <abp-dropdown-menu>
 | |
|                 <abp-dropdown-header>Dropdown header</abp-dropdown-header>
 | |
|                 <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
 | |
|                 <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
 | |
|                 <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
 | |
|                 <abp-dropdown-divider/>
 | |
|                 <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
 | |
|             </abp-dropdown-menu>
 | |
|         </abp-dropdown>
 | |
| 
 | |
|     </div>
 | |
|     <div class="code-area">
 | |
|         <pre>
 | |
| <abp-dropdown direction="Right">
 | |
|   <abp-dropdown-button dropdown-style="Split" button-type="Danger" text="Dropdown" size="Large"/>
 | |
|   <abp-dropdown-menu>
 | |
|     <abp-dropdown-header>Dropdown header</abp-dropdown-header>
 | |
|     <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
 | |
|     <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
 | |
|     <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
 | |
|     <abp-dropdown-divider/>
 | |
|     <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
 | |
|   </abp-dropdown-menu>
 | |
| </abp-dropdown>
 | |
| </pre>
 | |
|     </div>
 | |
| </div>
 | |
| 
 | |
| <h4># Example</h4>
 | |
| 
 | |
| <div class="demo-with-code">
 | |
|     <div class="demo-area">
 | |
|         
 | |
|         <div class="btn-group">
 | |
|             <button type="button" class="btn btn-secondary btn-lg">
 | |
|                 Split dropup
 | |
|             </button>
 | |
|             <button type="button" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
 | |
|                 <span class="sr-only">Toggle Dropdown</span>
 | |
|             </button>
 | |
|             <div class="dropdown-menu">
 | |
|                 <abp-dropdown-header>Dropdown header</abp-dropdown-header>
 | |
|                 <abp-dropdown-item href="#" active="true">Action</abp-dropdown-item>
 | |
|                 <abp-dropdown-item href="#" disabled="true">Another disabled action</abp-dropdown-item>
 | |
|                 <abp-dropdown-item href="#">Something else here</abp-dropdown-item>
 | |
|                 <abp-dropdown-divider/>
 | |
|                 <abp-dropdown-item href="#">Separated link</abp-dropdown-item>
 | |
|             </div>
 | |
|         </div>
 | |
| 
 | |
|     </div>
 | |
|     <div class="code-area">
 | |
|         <pre>
 | |
| </pre>
 | |
|     </div>
 | |
| </div>
 | |
| 
 |