We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62feda3 commit dcdd9c4Copy full SHA for dcdd9c4
1 file changed
API.md
@@ -301,12 +301,12 @@ Intial Validation for the input false. You can make it to true!
301
```
302
303
### Custom Error/Success Message Function
304
-**html**
+#### html
305
Declare your valid and invalid callback functions. Make sure to pass the `message` param.
306
``` html
307
<input type="text" ng-model="name" name="inputName" validator="required" valid-callback="validationValidHandler(message)" invalid-callback="validationInvalidHandler(message)">
308
309
-**Javascript**
+#### Javascript
310
Now you can call your own function and have access to the message.
311
``` javascript
312
scope.validationValidHandler = function(message){
0 commit comments