Conversation
spoenemann
reviewed
Jul 28, 2025
Contributor
spoenemann
left a comment
There was a problem hiding this comment.
Great content! 👏
But the GitHub action needs to be updated: https://github.com/eclipse-sprotty/sprotty-website/actions/runs/16517141406/job/46710317484?pr=41
321926e to
73b3547
Compare
73b3547 to
0933fc4
Compare
Co-authored-by: Miro Spönemann <miro.spoenemann@typefox.io>
Co-authored-by: Miro Spönemann <miro.spoenemann@typefox.io>
jbicker
requested changes
Aug 6, 2025
|
|
||
| Sprotty also offers the ability to attach mouse and keyboard listeners by registering `MouseListener` or `KeyListener`. | ||
| This can be simply done by binding the custom listener to the respective listener type in your [DI-container]({{< ref "/docs/recipes/dependency-injection" >}}) like this: | ||
| This can be simply done by binding the custom listener to the respective listener type in your [DI-container]({{< ref "/docs/concepts/extension-points">}}#dependency-injection) like this: |
| * `type: string`: The type of the element. This value is used in the Sprotty configuration to specify the corresponding view for all elements of this type. | ||
| * `id: string`: The globally unique identifier of the element. | ||
| * `features: FeatureSet` - *optional*: A set of [features]({{< ref "/docs/ref/features" >}}) that are enabled on the element. The list of features can be further configured in the [dependency injection container]({{< ref "/docs/recipes/dependency-injection" >}}#features). | ||
| * `features: FeatureSet` - *optional*: A set of [features]({{< ref "/docs/ref/features" >}}) that are enabled on the element. The list of features can be further configured in the [dependency injection container]({{< ref "/docs/concepts/extension-points">}}#dependency-injection). |
Contributor
Author
There was a problem hiding this comment.
This is removed in later PR
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This part of the documentation aim at describing the main components of Sprotty.
They are not meant to give specific implementation tutorials or extensive reference. These parts will come in future PRs.