Skip to content

Commit

Permalink
Minor style fixes to angular_components.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpovolny authored Nov 9, 2017
1 parent c3b75ba commit dc54faf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/angular_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Component for a button element.
It consists of:
* `name` (String) sets text shown in the button.
* `enabled` (expression) sets button to enabled or disabled.
* `enabledTitle` (String, optional) used if button has different title/alt for enabled and disabled state. Sets title/alt for enabled button. If enabledTitle is set disabledTitle should be set as well.
* `disabledTitle` (String, optional) used if button has different title/alt for enabled and disabled state. Sets title/alt for disabled button. If disabledTitle is set enabledTitle should be set as well.
* `enabledTitle` (String, optional) used if button has different title/alt for enabled and disabled state. Sets title/alt for enabled button. If `enabledTitle` is set `disabledTitle` should be set as well.
* `disabledTitle` (String, optional) used if button has different title/alt for enabled and disabled state. Sets title/alt for disabled button. If `disabledTitle` is set `enabledTitle` should be set as well.
* `primary` (expression, optional) True if button has class `btn-primary` otherwise it will have class `btn-default`.
* `onClick` (function) is a callback to be called when button is clicked.

If title/alt is same for both states `title` and `alt` should be set as attributes of the button.
If `title`/`alt` are the same for both states, `title` and `alt` should be set as attributes of the button.

0 comments on commit dc54faf

Please sign in to comment.