angular.json
{
"styles": [
"node_modules/@qrsln/lootstrap-angular/Styles/lootstrap.css"
// OR
"node_modules/@qrsln/lootstrap/dist/css/lootstrap.css"
]
}
| Params | Description |
|---|---|
[Collapsing] | Decides if the single item will be open at once or not. In collapsing mode, toggling one would collapse others |
import {AccordionModule} from '@qrsln/lootstrap-angular/Libs/Accordion';
@NgModule({
imports: [AccordionModule, /*...*/],
})
| Params | Description |
|---|---|
[Img] | Image url. |
[Alt] | Alternative text for the avatar image, if the image cannot be displayed. |
[Letter] | Can be used with letters (max 3). |
[BgColor] | Color of avatar background. |
[Variant] | Options: Square, Rounded, Circle. |
[Anchor] | Options: Top, Bottom, None. |
[Online] | Green badge color. Default value: false. |
| Params | Description |
|---|---|
[ImgList] | Images url. |
[Reversed] | Default value: false. |
[More] | Default value: false. |
import {AvatarModule} from '@qrsln/lootstrap-angular/Libs/Avatar';
@NgModule({
imports: [AvatarModule, /*...*/],
})
| Params | Description |
|---|---|
[Letter] | Letter chevron. |
[Chevron] | Options: 'Regular' (default) 'Larger' 'Vertical'. |
[Root] | Root:BreadcrumbItem;. |
[Items] | Items:BreadcrumbItem[];. |
[Autoload] | Can automatically retrieve custom data from current route (data['breadcrumb']). |
Model | |
import {BreadcrumbModule} from '@qrsln/lootstrap-angular/Libs/Breadcrumb';
@NgModule({
imports: [BreadcrumbModule, /*...*/],
})
| Params | Description |
|---|---|
[Orientation] | Options: Vertical (default), Horizontal. |
[Caret] | Options: 'left' 'top' 'right' 'bottom' undefined. |
import {CardModule} from '@qrsln/lootstrap-angular/Libs/Card';
@NgModule({
imports: [CardModule, /*...*/],
})
| Params | Description |
|---|---|
[Images:CarouselItem[]] | Images list. |
[Interval] | Time in milliseconds before the next slide is shown. Default value: 6000. |
[Captions] | If true, captions will be visible. Default value: true. |
[NavigationArrows] | If true, previous and next navigation arrows will be visible on the slide. Default value: true. |
[NavigationIndicators] | If true, navigation indicators at the bottom of the slide will be visible. Default value: true. |
[Dummy] | With dummy images for the test purpose, Default value: false. |
[PauseOnHover] | If true, will pause slide switching when mouse cursor hovers the slide. Default value: false. |
Model | |
import {CarouselModule} from '@qrsln/lootstrap-angular/Libs/Carousel';
@NgModule({
imports: [CarouselModule, /*...*/],
})
| Params | Description |
|---|---|
[Content] | Dialog Title & InnerHtml. |
[Footer] | Redirect Href. |
[Forced] | Default value: false. |
| Params | Description |
|---|---|
Redirect | Prompt (Content: DialogContent, Forced = false){...}. |
Prompt | Redirect (Content: DialogContent, Href: string, Label: string, Forced = false){...}. |
import {DialogModule} from '@qrsln/lootstrap-angular/Libs/Dialog';
@NgModule({
imports: [DialogModule, /*...*/],
})
Need to assign ViewContainerRef first, for creating dynamic components through Service as below: constructor(private dialogService: DialogService, private viewContainerRef: ViewContainerRef) {
this.dialogService.ViewContainerRef = viewContainerRef;
}
| Params | Description |
|---|---|
Notify | Image url. |
Notify | Root Method. |
Show | Root; seperated. |
Iconic | For using custom icon like FA Icons. |
Notify | Image url. |
None | Customized Theme Method. |
Success | Customized Theme Method. |
Info | Customized Theme Method. |
Error | Customized Theme Method. |
Warning | Customized Theme Method. |
Service usage depends on Notify Component at your layout.
<!--layout.component.html-->
<Notify></Notify>
<router-outlet></router-outlet>
import {NotifyModule} from '@qrsln/lootstrap-angular/Libs/Notify';
@NgModule({
imports: [NotifyModule, /*...*/],
})
| Params | Description |
|---|---|
[Items] | Items that you want to paginate. |
[ItemPerPage] | The number of items to display on each page. |
[CurrentPage] | The current (active) page number. |
[MaxSize] | Defines the maximum number of page links to display. Default is 6. |
[Alignment] | Options: 'Start' | 'Center' | 'End'. |
[Sizing] | Options: 'Regular' | 'Small' | 'Large'. |
[Shape] | Options: 'Regular' 'Circle'. |
(PageChanged) | EventEmitter Returns the current page. |
(PagedItems) | EventEmitter Returns the current paged Items. |
import {PaginationModule} from '@qrsln/lootstrap-angular/Libs/Pagination';
@NgModule({
imports: [PaginationModule, /*...*/],
})
| Params | Description |
|---|---|
[Fraction] | Allows to click half of unit of rate. |
[ReadOnly] | Read Only :). |
[Shadow] | Allow drop shadow to items. |
[BgColor] | Custom Bg color. |
[Pattern] | 'Customized' (default), 'Base'. |
[Icons] | Use with other icon libraries. |
[ShowValue] | Show rating Value. |
[Rate] | Current rating. |
(RateChanged) | Event Emitter as (RateChanged)="rateChanged($event)". |
import {RatingModule} from '@qrsln/lootstrap-angular/Libs/Rating';
@NgModule({
imports: [RatingModule, /*...*/],
})
| Params | Description |
|---|---|
[Pattern] | Vortex, VortexSqr, Grow, Border. |
[Overlay] | Overlay effect. |
[Color] | Css color. |
[ExpireIn] | Automatically expires if set; milliseconds. |
[Adaptive] | Uses active theme's accent color if its true. |
[Small] | To make a smaller spinner that can quickly be used within other components. |
import {SpinnerModule} from '@qrsln/lootstrap-angular/Libs/Spinner';
@NgModule({
imports: [SpinnerModule, /*...*/],
})
Need to assign ViewContainerRef first, for creating dynamic components through Service as below: constructor(private spinnerService: SpinnerService, private viewContainerRef: ViewContainerRef) {
this.spinnerService.ViewContainerRef = viewContainerRef;
}
| Params | Description |
|---|---|
[test] | test. |
import {TableModule} from '@qrsln/lootstrap-angular/Libs/Table';
@NgModule({
imports: [TableModule, /*...*/],
})
| Params | Description |
|---|---|
[Design] | Tab (default), Pill. |
[ActiveTab] | Default value: Fist tab. |
[Vertical] | Default value: false. |
(OnChange) | Event Emitter. Returns active TabPane's [Label]. |
| Params | Description |
|---|---|
[Label] | Tab title. |
[Anim] | FadeIn, BounceIn, ZoomIn. |
[Active] | Default value: false. |
[Disabled] | Default value: false. |
import {TabsModule} from '@qrsln/lootstrap-angular/Libs/Tabs';
@NgModule({
imports: [TabsModule, /*...*/],
})
| Params | Description |
|---|---|
[Date] | Date. |
[Locale] | Language code. |
[Live] | Dynamically change. Default value: false. |
| Params | Description |
|---|---|
[args[0]] | String type as Locale value. |
[args[1]] | boolean type as Live value. |
import {TimeAgoModule} from '@qrsln/lootstrap-angular/Libs/TimeAgo';
@NgModule({
imports: [TimeAgoModule, /*...*/],
})
| Params | Description |
|---|---|
[Anim] | 'Shake' 'Rubber-band' 'Wobble' 'Jello' undefined. |
[Layout] | 'Side' 'Centered' 'Connected'. |
| Params | Description |
|---|---|
[Inverted] | Default value: false. |
import {TimelineModule} from '@qrsln/lootstrap-angular/Libs/Timeline';
@NgModule({
imports: [TimelineModule, /*...*/],
})
| Params | Description |
|---|---|
[Date] | Date. |
[ClassName] | Css class. |
import {TimerModule} from '@qrsln/lootstrap-angular/Libs/Timer';
@NgModule({
imports: [TimerModule, /*...*/],
})
| Params | Description |
|---|---|
[Mode] | Single, Multiple. |
[Items] | Tree View items. |
[Sort] | Sort the items. Default value: false. |
[SelectedItems] | EventEmitter, returns selected items. |
import {TreeViewModule} from '@qrsln/lootstrap-angular/Libs/TreeView';
@NgModule({
imports: [TreeViewModule, /*...*/],
})