Skip to content

Commit 45ed417

Browse files
author
KHOUBZA Younes
committed
update noty page
1 parent 77c77b1 commit 45ed417

File tree

2 files changed

+0
-60
lines changed

2 files changed

+0
-60
lines changed

docs/library/noty.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -58,55 +58,6 @@ For more information on Noty options and usage, please refer to the original doc
5858
5959
---
6060

61-
<p id="method-text"><a href="#method-text" class="anchor"><i class="fa-duotone fa-link"></i> text</a></p>
62-
63-
This string can contain HTML too. But be careful and don't pass user inputs to this parameter.
64-
65-
```php
66-
noty()->text(string $text);
67-
```
68-
69-
{% assign id = '#/ noty text' %}
70-
{% assign type = site.data.messages.types | sample %}
71-
{% assign message = site.data.messages[type] | sample %}
72-
{% assign options = '{}' %}
73-
{% include example.html %}
74-
75-
```php
76-
{{ id }}
77-
78-
noty()
79-
->text('{{ message }}')
80-
->{{ type }}()
81-
->flash();
82-
```
83-
84-
---
85-
86-
<p id="method-alert"><a href="#method-alert" class="anchor"><i class="fa-duotone fa-link"></i> alert</a></p>
87-
88-
Display alert type notification
89-
90-
```php
91-
noty()->alert(string $message = null, array $options = array());
92-
```
93-
94-
{% assign id = '#/ noty alert' %}
95-
{% assign type = site.data.messages.types | sample %}
96-
{% assign message = site.data.messages[type] | sample %}
97-
{% assign options = '{"type":"alert"}' %}
98-
{% include example.html %}
99-
100-
```php
101-
{{ id }}
102-
103-
noty()
104-
->alert('{{ message }}')
105-
->flash();
106-
```
107-
108-
---
109-
11061
<p id="method-layout"><a href="#method-layout" class="anchor"><i class="fa-duotone fa-link"></i> layout</a></p>
11162

11263
`top`, `topLeft`, `topCenter`, `topRight`, `center`, `centerLeft`, `centerRight`, `bottom`, `bottomLeft`, `bottomCenter`, `bottomRight` <br />
@@ -728,16 +679,6 @@ noty()
728679

729680
---
730681

731-
<p id="method-buttons"><a href="#method-buttons" class="anchor"><i class="fa-duotone fa-link"></i> buttons</a></p>
732-
733-
An `array` of <span class="text-orange-600">Noty.button</span>, for creating confirmation dialogs. Details are [here](https://ned.im/noty/#/confirm).
734-
735-
```php
736-
noty()->buttons(array $buttons)
737-
```
738-
739-
---
740-
741682
<p id="method-visibilityControl"><a href="#method-visibilityControl" class="anchor"><i class="fa-duotone fa-link"></i> visibilityControl</a></p>
742683

743684
If `true` Noty uses PageVisibility API to handle timeout. <br />

docs/symfony.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ However, you can also choose to manually toggle dark mode using the `class strat
277277

278278
```yaml
279279
{{ id }}
280-
281280
# config/packages/flasher.yaml
282281
283282
flasher:

0 commit comments

Comments
 (0)