Unable to use custom directive *new*
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior When using custom directives within a ngx-smart-modal it has no effect on the element it is being applied to
Expected behavior Directive should function as normal
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
-
Smart Modal version: 0.8.x @next
-
Angular version: 2.0.x 7
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Custom directive is not recognized in Angular 2 - Stack Overflow
I created a custom directive and added it in the declaration of my app.module. But when I use it in my component, it...
Read more >Creating a Custom Directive • Angular - codecraft.tv
We create directives by annotating a class with the @Directive decorator. Let's create a class called CardHoverDirective and use the @Directive dectorator to ......
Read more >Unable to use custom directives · Issue #75 - GitHub
Just missed it during copying. I have the directive tested on another input which is not in the modal. The directive shouldn't be...
Read more >Developer Guide: Directives - AngularJS: API
To register a directive, you use the module.directive API. module.directive takes the normalized directive name followed by a factory function. This ...
Read more >Custom directives: Unable to put focus on element
You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@maximelafarie Thanks for your explanation and work on ngx-smart-modal. Much appreciated.
Yes, you can override any modal style property by providing a class that overrides it in the
customClass
option. No problem! 😉