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

Customize row timeline title #14

Closed
sebasira opened this issue Apr 9, 2024 · 3 comments
Closed

Customize row timeline title #14

sebasira opened this issue Apr 9, 2024 · 3 comments

Comments

@sebasira
Copy link
Owner

sebasira commented Apr 9, 2024

Right now it only has a title and an optional subtitle.

I would like to be able to define a custom HTML with a custom function to populate it, just like with the event cards(#11) , but for the row/resource name

@sebasira
Copy link
Owner Author

Now that I can customize the content of the Row/Timeline Title, issue #5 looses it's purpose and so it will be deprecated when this is closed

@sebasira
Copy link
Owner Author

A new demo is ready to show this new functionallity, in the demo folder. And it's called custom-content.html. Here's the link to view it live: Custom Row Title Content Demo

@sebasira
Copy link
Owner Author

The idea is similar to #11.

There's a setting called contentDefinitionTitle that by default holds the default content, but it could be replaced. And also a method called applyCustomContentTitle that by default is null, but if implemented it will be called to apply the content to that custom content definition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant