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

Priority parameter for JavaScript plugins #4149

Open
2 of 12 tasks
JammingBen opened this issue Oct 18, 2021 · 0 comments
Open
2 of 12 tasks

Priority parameter for JavaScript plugins #4149

JammingBen opened this issue Oct 18, 2021 · 0 comments

Comments

@JammingBen
Copy link
Contributor

WHAT Needs to be Documented?

owncloud/core#39359 introduced a priority for registering JavaScript plugins. A higher priority means the plugin will be registered/unregistered before others. It's optional and defaults to 50. The priority can be passed as third argument to the register method like so: OC.Plugins.register('OCA.Files.NewFileMenu', myFileMenuPlugin, 10);.

WHERE Does This Need To Be Documented (Link)?

https://doc.owncloud.com/server/10.8/developer_manual/app/fundamentals/js.html

(Optional) What Type Of Content Change Is This?

  • New Content Addition
  • Old Content Deprecation
  • Existing Content Simplification
  • Bug Fix to Existing Content

(Optional) Which Manual Does This Relate To?

  • Admin Manual
  • Developer Manual
  • User Manual
  • Android
  • iOS
  • Branded Clients
  • Desktop Client
  • Other
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant