Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOW TO CREATE MY OWN CUSTOM WIDGETS #5

Closed
connectpritam opened this issue May 3, 2018 · 1 comment
Closed

HOW TO CREATE MY OWN CUSTOM WIDGETS #5

connectpritam opened this issue May 3, 2018 · 1 comment

Comments

@connectpritam
Copy link

I want to create a custom widget/ component to let user insert a graph based on certain data. The data as of now I want to pull from a specific API. Please can you provide a wiki, or guide about how to do it.

@givanz
Copy link
Owner

givanz commented May 16, 2018

Hi

You can find information about components in the wiki here https://github.com/givanz/VvvebJs/wiki/Components

You can easily learn how to add new components by checking existing components code in components-widgets.js or components-bootstrap4.js

I added a new chart.js component that you can use as a starting point, you can find the code in libs/builder/components-widgets.js

Vvveb.Components.extend("_base", "widgets/chartjs", {
    name: "Chart.js",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants