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

Documentation about plugin needs to be more precise #2271

Open
ld75 opened this issue Aug 26, 2023 · 1 comment
Open

Documentation about plugin needs to be more precise #2271

ld75 opened this issue Aug 26, 2023 · 1 comment
Labels

Comments

@ld75
Copy link

ld75 commented Aug 26, 2023

Feature description

This page : https://docs.tabris.com/latest/custom-widgets.html needs to be more precise on how to call a tabris plugin installed on our application.
I wanted to import my tabris plugin into my app.js file but could not guess how to do it. Fortunately a friend of mine told me.

Proposed solution

I had to do : const {MyPlugin} = require('tabris'); // how was I suppose to know that the plugin was inside "tabris" ?

also I'm not even sure that If I did in my app.js
var myplugin = new MyPlugin()
it would have worked... did'nt tried yet. But if it works you should explain it too in your document.

Thank you!

@ld75 ld75 added the feature label Aug 26, 2023
@Elyft
Copy link

Elyft commented Jan 13, 2024

@elshadsm can you please answer ?

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

No branches or pull requests

2 participants