Dropdowns
To use Card, first import SharedModule in your module.
import {SharedModule} from '@gaxon/modules';
@NgModule({
...
imports: [SharedModule, ...],
...
})
export class YourAppModule {
}Dropdown Basic

<div class="d-flex flex-wrap">
<div ngbDropdown class="mr-2 mb-2">
<button class="btn btn-outline-primary" ngbDropdownToggle>Toggle dropdown</button>
<div ngbDropdownMenu>
<button class="dropdown-item">Action - 1</button>
<button class="dropdown-item">Another Action</button>
<button class="dropdown-item">Something else is here</button>
</div>
</div>
<div ngbDropdown placement="top-right" class="mb-2">
<button class="btn btn-outline-primary" ngbDropdownToggle>Toggle dropup</button>
<div ngbDropdownMenu>
<button class="dropdown-item">Action - 1</button>
<button class="dropdown-item">Another Action</button>
<button class="dropdown-item">Something else is here</button>
</div>
</div>
</div>
Various color Dropdowns

Button groups and split buttons

For more information about options, check the Ng-Bootstrap
Last updated
Was this helpful?