-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into development
- Loading branch information
Showing
189 changed files
with
1,809 additions
and
681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,19 +101,19 @@ npm install ngx-bootstrap --save | |
|
||
Add wanted package to NgModule imports: | ||
|
||
``` | ||
```ts | ||
import { TooltipModule } from 'ngx-bootstrap/tooltip'; | ||
|
||
@NgModule({ | ||
... | ||
imports: [TooltipModule.forRoot(),...] | ||
imports: [TooltipModule,...] | ||
... | ||
}) | ||
``` | ||
|
||
Add component to your page: | ||
|
||
``` | ||
```html | ||
<button type="button" class="btn btn-primary" | ||
tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> | ||
Simple demo | ||
|
@@ -126,14 +126,14 @@ This can be done with the css file directly in the index.html, or alternatively | |
|
||
- `Bootstrap 5` | ||
|
||
``` | ||
```html | ||
<!--- index.html --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> | ||
``` | ||
|
||
- `Bootstrap 4` | ||
|
||
``` | ||
```html | ||
<!--- index.html --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"> | ||
``` | ||
|
@@ -148,7 +148,7 @@ have a customized version of bootstrap. The consequence is that the process of d | |
be failed, which can break the UI. In that case, we can still set the bootstrap version manually in the bootstrapping | ||
component (i.e. `AppComponent`): | ||
|
||
``` | ||
```ts | ||
import { setTheme } from 'ngx-bootstrap/utils'; | ||
|
||
@Component({...}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "18.0.0" | ||
"version": "18.1.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
### Standalone component usage | ||
import { AlertComponent } from 'ngx-bootstrap/alert'; | ||
|
||
@Components({ | ||
standalone: true, | ||
imports: [AlertComponent,...] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { AlertModule } from 'ngx-bootstrap/alert'; | ||
|
||
@NgModule({ | ||
imports: [AlertModule.forRoot(),...] | ||
imports: [AlertModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
### Standalone component usage | ||
import { ButtonsModule } from 'ngx-bootstrap/buttons'; | ||
|
||
@Component({ | ||
imports: [ | ||
ButtonsModule, | ||
... | ||
] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { ButtonsModule } from 'ngx-bootstrap/buttons'; | ||
|
||
@NgModule({ | ||
imports: [ButtonsModule.forRoot(),...] | ||
imports: [ButtonsModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
### Standalone component usage | ||
import { CarouselModule } from 'ngx-bootstrap/carousel'; | ||
|
||
@Component({ | ||
imports: [ | ||
CarouselModule, | ||
... | ||
] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { CarouselModule } from 'ngx-bootstrap/carousel'; | ||
|
||
@NgModule({ | ||
imports: [CarouselModule.forRoot(),...] | ||
imports: [CarouselModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.