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

Read the CSS breakpoint in Angular #111

Open
Jogo27 opened this issue Jun 10, 2021 · 0 comments · Fixed by #127
Open

Read the CSS breakpoint in Angular #111

Jogo27 opened this issue Jun 10, 2021 · 0 comments · Fixed by #127
Assignees
Labels
Angular Front end

Comments

@Jogo27
Copy link
Member

Jogo27 commented Jun 10, 2021

This ticket is part of the information panel work. This is a prototype ticket to prepare the implementation of ResponsiveBreakpointService. The aim of this ticket is to display the value of a breakpoint.

  • Turn the SASS breakpoint variables (of the form $breakpoint-something) into CSS variables (of the form --breakpoint-something).
  • Add a typescript variable of type string in PollComponent to store the value of a breakpoint.
  • In the method ngOnInit of PollComponent, retrieve the value of one CSS breakpoint variable and store it in the new variable. Look at this for help.
  • Display the variable in the html file of PollComponent, using text interpolation.
@Jogo27 Jogo27 added the Angular Front end label Jun 10, 2021
@HFaaaaa HFaaaaa self-assigned this Jun 12, 2021
@Jogo27 Jogo27 linked a pull request Jun 22, 2021 that will close this issue
@Jogo27 Jogo27 linked a pull request Jun 30, 2021 that will close this issue
@Jogo27 Jogo27 self-assigned this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Angular Front end
Projects
None yet
2 participants