@@ -49,7 +49,7 @@ use demogorgorn\ajax\AjaxSubmitButton;
4949<div id =" output" ></div >
5050```
5151
52- Please note: that #output is a div element which will be updated.
52+ > Please note: that #output is a div element which will be updated.
5353
5454In controller:
5555``` php
@@ -133,15 +133,15 @@ It's possible to use the widget with your own custom preloader.
133133
134134### Widget's options
135135
136- Variable | Description
137- ------------ | -------------
138- ajaxOptions | array of js ajax options.
139- options | array of the HTML attributes and other options of the widget's container tag
140- tagName | (string) the tag to use to render the button (by default is 'button'. You can specify, for example, 'a' tag).
141- label | (string) button's label
142- encodeLabel | (boolean) whether the label should be HTML-encoded.
143- clickedButtonVarName | (string) js object name. It is unused when useWithActiveForm is enabled.
144- useWithActiveForm | (boolean) whether the button should not be used with ActiveForm. (string) the id of ActiveForm to use the button with.
136+ Variable | Description | Type
137+ ------------ | ------------- | -------------
138+ ajaxOptions | ajax options | Array
139+ options | HTML attributes and other options of the widget's container tag | Array
140+ tagName | the tag to use to render the button (by default is 'button'. You can specify, for example, 'a' tag) | String
141+ label | button's label | String
142+ encodeLabel | whether the label should be HTML-encoded | Boolean
143+ clickedButtonVarName | js object name. It is unused when useWithActiveForm is enabled | String
144+ useWithActiveForm | whether the button should not be used with ActiveForm. the id of ActiveForm to use the button with | Boolean / String
145145
146146## Installation
147147------------
0 commit comments