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

Icons in Text #11

Open
koyyew opened this issue Jun 11, 2020 · 3 comments
Open

Icons in Text #11

koyyew opened this issue Jun 11, 2020 · 3 comments

Comments

@koyyew
Copy link
Contributor

koyyew commented Jun 11, 2020

Hello, is it possible to accept html tag e.g. icons for Text customisation?

Thanks.

@koyyew koyyew closed this as completed Jun 11, 2020
@koyyew koyyew changed the title HTML tag for timeFrameHeaders Icons in Text Jun 11, 2020
@koyyew koyyew reopened this Jun 11, 2020
@abhishekjain12
Copy link
Owner

Hey @koyyew , Can you be more specific?

@koyyew
Copy link
Contributor Author

koyyew commented Jun 15, 2020

Hi @abhishekjain12,

The Text object allows customisation for the text to be displayed for NextButton, TodayButton. SectionTitle and etc.

However any html tags used in the custom texts will be displayed as it is (i.e. treated as string) and hence it is not possible to use any icons for customisation.

Is it possible to add the support to accept html tags e.g. <i class="fas fa-calendar-day"></i>?

@Elaschatz
Copy link

+1!

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

3 participants