Hacker News new | past | comments | ask | show | jobs | submit login

Hello, I will try to use it very soon (next week). I need to tag embroideries for my wife. Your system covers most of my needs. How difficult would it be to have some groups of tags (for example, a bird tag would implicitely imply a animal tag, or a alphabet_a tag would imply a alphabet tag) and have a different color for tags belonging to these groups ?



I would structure my suggestions like this. In the `_buildSuggestionElement` method check the type, set a colour from some list you have, or set a class and change the colour in your css.

    interface ISuggestion {
        name: string;
        count: number;
        element?: HTMLElement;
        type?: string;
    }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: