diff --git a/demo/src/app/components/+alerts/alerts-section.list.ts b/demo/src/app/components/+alerts/alerts-section.list.ts index 431e6b032d..38e0ca80d6 100644 --- a/demo/src/app/components/+alerts/alerts-section.list.ts +++ b/demo/src/app/components/+alerts/alerts-section.list.ts @@ -39,8 +39,7 @@ export const demoComponentContent: ContentSection[] = [ description: `
Alerts are available for any length of text, as well as an optional dismiss
button. For proper styling, use one of the four required
contextual classes (e.g., .alert-success
). For inline
- dismissal, use the dismiss
- property
.
dismissible
property.`,
component: require('!!raw-loader?lang=typescript!./demos/basic/basic'),
html: require('!!raw-loader?lang=markup!./demos/basic/basic.html'),
outlet: DemoAlertBasicComponent
diff --git a/demo/src/app/components/+collapse/collapse-section.list.ts b/demo/src/app/components/+collapse/collapse-section.list.ts
index 87d73a3ccf..bbd39daa3a 100644
--- a/demo/src/app/components/+collapse/collapse-section.list.ts
+++ b/demo/src/app/components/+collapse/collapse-section.list.ts
@@ -1,5 +1,6 @@
import { CollapseDemoComponent } from './demos/basic/basic';
import { ToggleManualDemoComponent } from './demos/toggle-manual/toggle-manual';
+import { CollapseDemoEventsComponent } from './demos/events/events';
import { ContentSection } from '../../docs/models/content-section.model';
import { DemoTopSectionComponent } from '../../docs/demo-section-components/demo-top-section/index';
@@ -30,6 +31,15 @@ export const demoComponentContent: ContentSection[] = [
html: require('!!raw-loader?lang=markup!./demos/basic/basic.html'),
outlet: CollapseDemoComponent
},
+ {
+ title: 'Events',
+ anchor: 'events',
+ component: require('!!raw-loader?lang=typescript!./demos/events/events'),
+ html: require('!!raw-loader?lang=markup!./demos/events/events.html'),
+ description: `Collapse directive exposes 2 events: collapsed
, that fires when a content was hidden,
+ and expanded
, that fires when a content was shown`,
+ outlet: CollapseDemoEventsComponent
+ },
{
title: 'Manual toggle',
anchor: 'manual-toggle',
diff --git a/demo/src/app/components/+collapse/demos/basic/basic.html b/demo/src/app/components/+collapse/demos/basic/basic.html
index fc68006f1a..924540b4c3 100644
--- a/demo/src/app/components/+collapse/demos/basic/basic.html
+++ b/demo/src/app/components/+collapse/demos/basic/basic.html
@@ -2,9 +2,6 @@
(click)="isCollapsed = !isCollapsed">Toggle collapse
Event: {{message}}+
If you want to disable datepicker set isDisabled
property to true
If you want to disable datepicker's or daterangepicker's content set isDisabled
property to true
Datepicker and daterangepicker can be used in forms. Keep in mind that
- value of ngModel
is Date
object (array of 2 object for daterangepicker)
ngModel
is Date
object for datepicker and array of 2
+ Date
objects for daterangepicker`,
outlet: DemoDatepickerFormsComponent
},
{
diff --git a/demo/src/app/components/+datepicker/demos/date-initial-state/date-initial-state.html b/demo/src/app/components/+datepicker/demos/date-initial-state/date-initial-state.html
index e34993e8a5..eb006e2589 100644
--- a/demo/src/app/components/+datepicker/demos/date-initial-state/date-initial-state.html
+++ b/demo/src/app/components/+datepicker/demos/date-initial-state/date-initial-state.html
@@ -1,4 +1,4 @@
-bsValue property sets initial state in this example
+bsValue
property sets initial state in this example
ngModel property sets two-way data binding in this example
+ngModel
property sets two-way data binding in this example
The datepicker's placement is right
The datepicker's placement is top
The datepicker's placement is bottom
The datepicker's placement is left
Open a modal{{message}}+
{{message}}