Imagine we have directive that customizes the checkbox color and interaction. We want to make our checkbox checked base on certain condition. But line 5, the highlighted one will throw following error. What really happens is that Angular thinks we are binding directive on some host elements (container etc) that doesn’t have checked property. Angular […]
Category: Opinions
These are my general thought blogs, People Might have different views but I can only share mine
Well usually you would use role attributes or aria-label or aria-labelled-by to add the accessibility heuristics. But in the case of table, you don’t need to add any thing extra to make the HTML Table accessible. Just using correct element syntax is enough. What it has to do with testing, well those can easily by […]
I need to fetch some posts. We will use the httpResource. HttpClient returned observables but this one is reactive wrapper around HttpClient. The response we get is a signal. We can render the content in template as {{ content.value() }} But there is new inquiry. We need filter by specific user, No problem we can […]
A Case for tailwind
I am gonna start fresh, I am will write semantic CSS. The You have a blog title that is different than other titles, little bigger, with underline. So I will use class like .blog-title now all of the styles goes here. But then you have to have design .page-title, another heading that might share styles […]
