Gbuomprisco / ng2-material-dropdown

Angular 2 Material-like Dropdown Component
MIT License
37 stars 54 forks source link

How is possible disable ??? #42

Closed JarekSour closed 6 years ago

gangsthub commented 6 years ago

@JarekSour could you provide a better explanation of what you are trying to achieve, please?

I think, you could use something like this:

[ngClass]="{ disabled: ((tagsArray && !tagsArray.length) || !tagsArray) }"
.disabled {
  opacity: .6;
  pointer-events: none;
  user-select: none;
}