Skip to content

colorpicker-closed not fired #152

@Lulunx

Description

@Lulunx

Hi, ( Sorry my english could be bad )

I'm using the colorpicker for a personnal developement, and I've actually a problem.

I want to send a request in a API when the user close the colorpicker ( I don't want to send it when the color change for don't flood the server ).

For that, I used the colorpicker-closed attribute like that

<button class="ui basic green fluid button" colorpicker type="button" colorpicker-size="200" colorpicker-closed="switchColor()" colorpicker-position="top" ng-model="color.color">Couleur</button>

The function switchColor(), is actually doing only a console.log() ( For debug ! )

$scope.switchColor=function(){ console.log('Test') }

But the close event is never triggered.
If someone could help me ?

Thanks
Lucas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions