Skip to content

Ion-badge missing information on when does it show #1658

Closed
@Artaud

Description

@Artaud

URL
https://ionicframework.com/docs/api/badge

What is missing or inaccurate about the content on this page?
The ion-badge docs should mention that there is a display: none rule applied whenever there is no content in the badge (:host(:empty))
I've lost quite some time figuring out why the badge would not show when testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues related to the contents of the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions