Coder Social home page Coder Social logo

Can't Find Component about ngx-tree-dnd HOT 11 CLOSED

zicrael avatar zicrael commented on June 7, 2024
Can't Find Component

from ngx-tree-dnd.

Comments (11)

Zicrael avatar Zicrael commented on June 7, 2024

Hello Imaginativeone!
Did you import NgxTreeModule?

In you module:

import { NgxTreeModule } from 'ngx-tree-dnd'; // here
 imports: [
    BrowserModule,
    NgxTreeModule,   // <=== here
    LibraryModule 
  ],

in your component:

<ngx-tree-component [treeData]='youTree'> </ngx-tree-component>

you can use demo:

https://stackblitz.com/edit/ngx-tree-dnd

from ngx-tree-dnd.

Imaginativeone avatar Imaginativeone commented on June 7, 2024

Importing the Module works just fine. When I add the selector to my template, that's when my app can't find the Component.

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on June 7, 2024

Importing the Module works just fine. When I add the selector to my template, that's when my app can't find the Component.

Can you send me code of you component and module? I check and try fix.

from ngx-tree-dnd.

Imaginativeone avatar Imaginativeone commented on June 7, 2024

I sent you a Collaboration Invite, but I'm not so great with using that feature yet...

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on June 7, 2024

I push zicrael-tree-branch on you repo, check this. In Home page working example. Thanks for issue I edit documentation now. In you app on zicrael-tree-branch its work.

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on June 7, 2024

Is it work in my branch now?

from ngx-tree-dnd.

Imaginativeone avatar Imaginativeone commented on June 7, 2024

Wait...no, not working yet.

from ngx-tree-dnd.

Imaginativeone avatar Imaginativeone commented on June 7, 2024

Would a screenshot be helpful?

from ngx-tree-dnd.

Imaginativeone avatar Imaginativeone commented on June 7, 2024

Does this Component need to be imported into the Application Component (and not some lower Component in the application hierarchy)?

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on June 7, 2024

Its can be implemented in any module, and used in component depend to module.

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on June 7, 2024

https://imgur.com/a/UtJ6lV1 Screenshoot. Make sure you checkout in my branch where you use it.

from ngx-tree-dnd.

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.