Giter Site home page Giter Site logo

Comments (3)

nnixaa avatar nnixaa commented on May 21, 2024 1

Hi @romulotorres, we do not have such plans now, but we'll be glad if you could provide a PR.
As an example you could use this component https://github.com/akveo/ng2-admin/tree/master/src/app/theme/components/baFullCalendar.

  1. add toastr as a requirement into package.json
  2. load js lib like this https://github.com/akveo/ng2-admin/blob/master/src/app/theme/components/baFullCalendar/baFullCalendar.loader.ts
  3. init jquery plugin like this https://github.com/akveo/ng2-admin/blob/master/src/app/theme/components/baFullCalendar/baFullCalendar.component.ts#L19

Let me know if you have any questions.

from ngx-admin.

romulotorres avatar romulotorres commented on May 21, 2024

Hello @nnixaa thanks for your reply.

I tried to add Toastr in the project but have not had success.
I used this plugin:
https://www.npmjs.com/package/angular2-toaster

I created a folder "baToastr" , creating the files as the theme of default, but could not use that way.

The plugin does not need a jquery call, like the calendar , you indicated .

I also tried to add the plugin directly in app.component but received the following message :
"No Toaster Containers Have Been initialized to receive toasts."

My beginner's knowledge in angular 2 are not yet sufficient to accomplish my needs . Could you give me a little help with that?

from ngx-admin.

romulotorres avatar romulotorres commented on May 21, 2024

Ps: I will be glad for provide a PR if I do this ;)

from ngx-admin.

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.