File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ npm install ngx-bootstrap --save
101101
102102Add wanted package to NgModule imports:
103103
104- ```
104+ ``` ts
105105import { TooltipModule } from ' ngx-bootstrap/tooltip' ;
106106
107107@NgModule ({
@@ -113,7 +113,7 @@ import { TooltipModule } from 'ngx-bootstrap/tooltip';
113113
114114Add component to your page:
115115
116- ```
116+ ``` html
117117<button type =" button" class =" btn btn-primary"
118118 tooltip =" Vivamus sagittis lacus vel augue laoreet rutrum faucibus." >
119119 Simple demo
@@ -126,14 +126,14 @@ This can be done with the css file directly in the index.html, or alternatively
126126
127127- ` Bootstrap 5 `
128128
129- ```
129+ ``` html
130130<!-- - index.html -->
131131<link href =" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel =" stylesheet" integrity =" sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin =" anonymous" >
132132```
133133
134134- ` Bootstrap 4 `
135135
136- ```
136+ ``` html
137137<!-- - index.html -->
138138<link href =" https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" rel =" stylesheet" crossorigin =" anonymous" integrity =" sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" >
139139```
@@ -148,7 +148,7 @@ have a customized version of bootstrap. The consequence is that the process of d
148148be failed, which can break the UI. In that case, we can still set the bootstrap version manually in the bootstrapping
149149component (i.e. ` AppComponent ` ):
150150
151- ```
151+ ``` ts
152152import { setTheme } from ' ngx-bootstrap/utils' ;
153153
154154@Component ({... })
You can’t perform that action at this time.
0 commit comments