-
Notifications
You must be signed in to change notification settings - Fork 5
Core concepts documentation #41
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
Conversation
spoenemann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, great content! Thanks for that.
One or two sentences about mergable commands would be great.
And please search for relative links where you've used ref and use relref instead.
|
|
||
| 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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like above use relref here
| * `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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use relref
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is removed in later PR
|
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.