Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Fixed size attribute name, added enum and validation #120

Closed
wants to merge 1 commit into from
Closed

Fixed size attribute name, added enum and validation #120

wants to merge 1 commit into from

Conversation

jjczopek
Copy link
Contributor

This fixes name for spinner size attribute, adds enum for size and validates attribute value.

Change reflected in demos and added additional tests to cover new enum values.

Closes #102 #100

andrewconnell pushed a commit that referenced this pull request Jan 24, 2016
Added attribute validation and error logging to the console to address directive guidelines [007](/~https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/docs/guides/DIRECTIVE-CHECKLIST.md#directive-attribute-validation) & [008](/~https://github.com/ngOfficeUIFabric/ng-officeuifabric/blob/master/docs/guides/DIRECTIVE-CHECKLIST.md#error-messages).

  BREAKING CHANGE: uif-spinner's `uif-spinnersize` attribute changed to `uif-size`.

  Change your code from this:

  ```html
  <uif-spinner uif-spinnersize="large"></uif-spinner>
  ```

  To this:

  ```html
  <uif-spinner uif-size="large"></uif-spinner>
  ```

Closes #100. Closes #102. Closes #120.
@andrewconnell
Copy link
Member

Manually merged.

@jjczopek jjczopek deleted the spinner-improvements branch January 24, 2016 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants