Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Conversation

AxelPeter
Copy link
Contributor

  • Add on-click attribute
  • Add active flag
  • Add loading flag
  • Add unit tests


scope.$ctrl.loading = true;
scope.$apply();
expect(toggler.hasClass("ng-hide")).toBeTruthy();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should check for the visibility of the spinner too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll check that

```html:preview
<div class="oui-doc-preview-only">
<p>
<button class="oui-button oui-button_primary" type="text" ng-class="{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean type="button" isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must be tired...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take care of you 💋

@AxelPeter AxelPeter merged commit a7cf575 into develop Sep 17, 2018
@AxelPeter AxelPeter deleted the feature/navbar-toggler-click branch September 17, 2018 07:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

5 participants