angular2-ui-switch icon indicating copy to clipboard operation
angular2-ui-switch copied to clipboard

angular2 ui switch component

Results 11 angular2-ui-switch issues
Sort by recently updated
recently updated
newest added

Hello Guys! What is the intended way of "reverse"? I currently have a boolean coming from a backend with "false" as the value, which causes the switch to be in...

At runtime, I am always getting: ERROR in UiSwitchModule is not an NgModule I have: import {UiSwitchModule } from 'angular2-ui-switch' and: imports: [ BrowserModule, ReactiveFormsModule, FormsModule, HttpModule, routing, Ng2BootstrapModule, UiSwitchModule,...

This is excellent widget for us. We however require a bit more flexibility in styling, so we added this input decorator, we believe it will help others as well.

When I Use This Code: ``` {{enable}} ``` I don't see any value for enable. I would expect this to display in the html.

I needed a very small size, I believe that other people may also need a very small button.

First of all, congrats, it's a great and easy-to-use component. You let we change the True state color, but I want to change the false state color as well

` "angular2-ui-switch": "1.2.0",` When upgrade to angular 4 and `angular\cli 1.0.0` getting this error when compiling with AOT: `ERROR in ng:///C:/ProjentName/node_modules/angular2-ui-switch/src/ui-switch.component.ts.UiSwitchComponent.html (8,3): Supplied parameters do not match any signature of...

Is it possible to add a content to the toggle button? Thanks!

getColor(flag) become getColor(flag?:string) ``` ng buil --prod C:/app/{Project_Name}/src/$$_gendir/node_modules/angular2-ui-switch/src/ui-switch.component.ngfactory.ts (238,28): Supplied parameters do not match any signature of call target. ```

AOT compilation breaks because getColor() in the templeate doesn't match the function signature. This should fix the issue.