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

transformRequest にフックできるような仕組み #204

Open
kamataryo opened this issue May 27, 2021 · 0 comments
Open

transformRequest にフックできるような仕組み #204

kamataryo opened this issue May 27, 2021 · 0 comments
Labels
enhancement New feature or request 🔌plugin プラグインシステムに関するもの Priority: High The issue has high priority

Comments

@kamataryo
Copy link
Contributor

kamataryo commented May 27, 2021

// 今まで
window.geolonia.registerPlugin((map, target, atts) => { /* plugin code */ })
// 新しい API のイメージ
window.geolonia.registerPluginFilter('before-map', (target, atts, options) => { /* plugin code */ })
window.geolonia.registerPluginAction('after-map', (map, target, atts) => { /* plugin code */ })
window.geolonia.registerPluginHook('before-map', (target, atts, options) => { /* plugin code */ })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🔌plugin プラグインシステムに関するもの Priority: High The issue has high priority
Projects
None yet
Development

No branches or pull requests

1 participant