Skip to content

Commit 52a7d60

Browse files
pcmillmaximelafarie
andcommitted
Update options.component.ts to fix some minor mistakes in the text. (#265)
* Doc typos fixes Co-authored-by: Maxime Lafarie <maxime.lafarie@gmail.com>
1 parent e46d1a6 commit 52a7d60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/app/doc/parts/options/options.component.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ export class OptionsComponent implements OnInit {
1919
name: 'closable',
2020
type: 'boolean',
2121
defaultValue: 'true',
22-
description: 'Show / hide the cross icon at the top right corner of the modal'
22+
description: 'Show / hide the cross icon at the top right corner of the modal.'
2323
},
2424
{
2525
name: 'escapable',
2626
type: 'boolean',
2727
defaultValue: 'true',
28-
description: 'Enable / disable the modal for listening to the escape keypress event (if pressed and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time). ⚠️ NOT RECOMMANDED for accessibility reasons.'
28+
description: 'Enable / disable the modal for listening to the escape keypress event (if pressed and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time). ⚠️ NOT RECOMMENDED for accessibility reasons.'
2929
},
3030
{
3131
name: 'dismissable',
3232
type: 'boolean',
3333
defaultValue: 'true',
34-
description: 'Enable / disable the modal backdrop for listening to the click event (if backdrop is clicked and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time)'
34+
description: 'Enable / disable the modal backdrop for listening to the click event (if backdrop is clicked and this option is set to true, it will close the current opened modal or the latest opened if you have several modals opened at the same time).'
3535
},
3636
{
3737
name: 'identifier',
3838
type: 'string',
3939
defaultValue: 'undefined',
40-
description: 'REQUIRED ― The identifiant of the modal instance. Retrieve a modal easily by its identifier'
40+
description: 'REQUIRED ― The identifier of the modal instance. Retrieve a modal easily by its identifier.'
4141
},
4242
{
4343
name: 'force',
@@ -49,7 +49,7 @@ export class OptionsComponent implements OnInit {
4949
name: 'customClass',
5050
type: 'string',
5151
defaultValue: "'nsm-dialog-animation-fade'",
52-
description: 'All the additionnal classes you want to add to the modal (e.g.: any bootstrap modal class). You can add several classes by giving a string with space-separated class names'
52+
description: 'All the additionnal classes you want to add to the modal (e.g.: any bootstrap modal class). You can add several classes by giving a string with space-separated class names.'
5353
},
5454
{
5555
name: 'backdrop',
@@ -79,19 +79,19 @@ export class OptionsComponent implements OnInit {
7979
name: 'ariaLabel',
8080
type: 'string',
8181
defaultValue: 'undefined',
82-
description: 'Define a accessible title for your modal.'
82+
description: 'Define an accessible title for your modal.'
8383
},
8484
{
8585
name: 'ariaLabelledBy',
8686
type: 'string',
8787
defaultValue: 'undefined',
88-
description: 'Define a accessible title for your modal. Enter the id of your title content.'
88+
description: 'Define an accessible title for your modal. Enter the id of your title content.'
8989
},
9090
{
9191
name: 'ariaDescribedBy',
9292
type: 'string',
9393
defaultValue: 'undefined',
94-
description: 'Define a accessible description for your modal. Enter the id of your description content.'
94+
description: 'Define an accessible description for your modal. Enter the id of your description content.'
9595
}
9696
];
9797
// tslint:enable:max-line-length

0 commit comments

Comments
 (0)