Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 07591d7

Browse files
authored
Small formatting changes.
1 parent f374e2c commit 07591d7

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

guides/v2.2/javascript-dev-guide/widgets/widget_prompt.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It extends the [Magento modal widget].
1212

1313
The prompt widget source is [`<Magento_Ui_module_dir>/view/base/web/js/modal/prompt.js`].
1414

15-
The widget can be used for implementing prompt windows for both, Admin and [storefront](https://glossary.magento.com/storefront). The design patterns for the modal pop-up windows in the Admin are described in the [Magento Admin Pattern Library, the Slide-out Panels, Modal Windows, and Overlays topic.]
15+
The widget can be used for implementing prompt windows for both, admin and [storefront](https://glossary.magento.com/storefront). The design patterns for the modal pop-up windows in the admin are described in the [Magento Admin Pattern Library, the Slide-out Panels, Modal Windows, and Overlays topic.]
1616

1717
## Initialize the prompt widget {#prompt_init}
1818

@@ -55,27 +55,28 @@ For details about how to initialize a widget in a `.phtml` template, refer to th
5555

5656
## Options {#prompt_options}
5757

58-
- [actions](#prompt_actions)
59-
- [autoOpen](#prompt_autoopen)
60-
- [clickableOverlay](#prompt_clickableOverlay)
61-
- [content](#prompt_content)
62-
- [focus](#prompt_focus)
63-
- [title](#prompt_title)
64-
- [modalClass](#prompt_modalClass)
65-
- [promptContentTmpl](#prompt_promptContentTmpl)
66-
- [value](#prompt_value)
67-
- [promptField](#prompt_promptField)
68-
- [attributesForm](#prompt_attributesForm)
69-
- [attributesField](#prompt_attributesField)
70-
- [validation](#prompt_validation)
71-
- [validationRules](#prompt_validationRules)
58+
- [actions](#prompt_actions)
59+
- [autoOpen](#prompt_autoopen)
60+
- [clickableOverlay](#prompt_clickableOverlay)
61+
- [content](#prompt_content)
62+
- [focus](#prompt_focus)
63+
- [title](#prompt_title)
64+
- [modalClass](#prompt_modalClass)
65+
- [promptContentTmpl](#prompt_promptContentTmpl)
66+
- [value](#prompt_value)
67+
- [promptField](#prompt_promptField)
68+
- [attributesForm](#prompt_attributesForm)
69+
- [attributesField](#prompt_attributesField)
70+
- [validation](#prompt_validation)
71+
- [validationRules](#prompt_validationRules)
7272

7373
### `actions` {#prompt_actions}
7474
Widget callbacks.
7575

7676
**Type**: Object.
7777

7878
**Default value**:
79+
7980
```javascript
8081
actions: {
8182
confirm: function(){},
@@ -256,7 +257,7 @@ The keyboard navigation for the alert windows is similar to the [navigation of t
256257

257258
```html
258259
<div class="prompt-modal-content">
259-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci amet aut consequuntur culpa cum, distinctio earum harum, iste magnam nobis numquam pariatur tempora ullam vero vitae. Hic ipsam itaque velit.</p>
260+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
260261
</div>
261262

262263
<script>

0 commit comments

Comments
 (0)