@staticmethod
def __to_html__(name: str) ->str:
    """Convert a prop name to be usable as an html attribute name.

        Parameters
        ----------
        name : str
            The name to convert.

        Returns
        -------
        str
            The converted name.

        """
    if name.startswith('_'):
        name = name[1:]
    return name.replace('__', ':').replace('_', '-')
