LearnNewsExamplesServices
Frontmatter
id5407
titlecomponent.Base: getPlugin() => find via type / ntype
stateClosed
labels
enhancement
assigneestobiu
createdAtMay 27, 2024, 11:26 AM
updatedAtJun 20, 2024, 2:17 PM
githubUrlhttps://github.com/neomjs/neo/issues/5407
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJun 20, 2024, 2:17 PM

component.Base: getPlugin() => find via type / ntype

Closed v8.1.0 enhancement
tobiu
tobiu commented on May 27, 2024, 11:26 AM

right now the logic is id based, which is problematic, since all instance ids are supposed to be unique.

instead, i would like to access plugins via:

instance.getPlugin('plugin-resizable')
instance.getPlugin('resizable')
tobiu added the enhancement label on May 27, 2024, 11:26 AM
tobiu assigned to @tobiu on May 27, 2024, 11:26 AM
tobiu referenced in commit 6e26ec2 - "component.Base: getPlugin() => find via type / ntype #5407" on Jun 20, 2024, 2:04 PM
tobiu referenced in commit adbf4ca - "#5407 calendar.view.week.plugin.DragDrop: resizablePluginType => enable overriding for custom plugin implementations" on Jun 20, 2024, 2:16 PM
tobiu closed this issue on Jun 20, 2024, 2:17 PM