Skip to content

Commit dcdd9c4

Browse files
committed
Fixing formatting issues in API.md
1 parent 62feda3 commit dcdd9c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,12 @@ Intial Validation for the input false. You can make it to true!
301301
```
302302

303303
### Custom Error/Success Message Function
304-
**html**
304+
#### html
305305
Declare your valid and invalid callback functions. Make sure to pass the `message` param.
306306
``` html
307307
<input type="text" ng-model="name" name="inputName" validator="required" valid-callback="validationValidHandler(message)" invalid-callback="validationInvalidHandler(message)">
308308
```
309-
**Javascript**
309+
#### Javascript
310310
Now you can call your own function and have access to the message.
311311
``` javascript
312312
scope.validationValidHandler = function(message){

0 commit comments

Comments
 (0)