Giter Site home page Giter Site logo

ngModel support about ng-picky HOT 5 CLOSED

seth2810 avatar seth2810 commented on August 9, 2024
ngModel support

from ng-picky.

Comments (5)

danprince avatar danprince commented on August 9, 2024

What value should be bound?

The color object, hex string? Or should it be configurable based on another directive?

from ng-picky.

seth2810 avatar seth2810 commented on August 9, 2024

Initially, I thought it would be a hexadecimal value, and all internal conversion in the color object would occur within the directive.

from ng-picky.

danprince avatar danprince commented on August 9, 2024

Yeah, I guess that could work. If the model binds the hex value, then the other filters can be converted over to convert from a hex string, to another color format.

from ng-picky.

seth2810 avatar seth2810 commented on August 9, 2024

Sounds good... A little later I will try to implement this functionality. Now I see only one problem, the color conversion in position on the canvas.

from ng-picky.

danprince avatar danprince commented on August 9, 2024

Cool. When I get a spot of free time, I'll finish writing up a set of unit tests. Can work backwards from there to fix those conversion bugs.

from ng-picky.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.