@@ -58,55 +58,6 @@ For more information on Noty options and usage, please refer to the original doc
58
58
59
59
---
60
60
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
-
110
61
<p id =" method-layout " ><a href =" #method-layout " class =" anchor " ><i class =" fa-duotone fa-link " ></i > layout</a ></p >
111
62
112
63
` top ` , ` topLeft ` , ` topCenter ` , ` topRight ` , ` center ` , ` centerLeft ` , ` centerRight ` , ` bottom ` , ` bottomLeft ` , ` bottomCenter ` , ` bottomRight ` <br />
@@ -728,16 +679,6 @@ noty()
728
679
729
680
---
730
681
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
-
741
682
<p id =" method-visibilityControl " ><a href =" #method-visibilityControl " class =" anchor " ><i class =" fa-duotone fa-link " ></i > visibilityControl</a ></p >
742
683
743
684
If ` true ` Noty uses PageVisibility API to handle timeout. <br />
0 commit comments