Code Monkey home page Code Monkey logo

Comments (4)

btford avatar btford commented on May 5, 2024

This should generalize to all ngEventDirs, e.g. ng-focus, ng-mousedown, etc.

from angular-hint.

ealtenho avatar ealtenho commented on May 5, 2024

@caguillen214 and I are pairing on this issue.

  • We have found that decorating the compilation of the event directive functions allows us to check if the function exists on the scope.
  • We need to check our logic to make sure it works with expressions
  • We need to check our logic so it works with the regex for checking functions with parameters
  • We need to suggest similar functions.

@btford: our current logic would console.log a message when the directive is instantiated rather than when the event function is fired. Is this acceptable, or do we want it to specifically fire when the incorrect function is accessed?

from angular-hint.

caguillen214 avatar caguillen214 commented on May 5, 2024

This module for Angular Hint has been mostly completed at https://github.com/caguillen214/hint-event, we're still working on the tests though.

from angular-hint.

caguillen214 avatar caguillen214 commented on May 5, 2024

This has been addressed and completed. Refer to the repo mentioned in the above comment.

from angular-hint.

Related Issues (20)

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.