Skip to main content
Version: 0.9

Interface: SetFlairOptions

Hierarchy

Table of contents

Properties

Properties

backgroundColor

Optional backgroundColor: string

The flair background color. Either 'transparent' or a hex color code. e.g. #FFC0CB


cssClass

Optional cssClass: string

The flair CSS class


flairTemplateId

Optional flairTemplateId: string

The flair template's ID


subredditName

subredditName: string

The name of the subreddit of the item to set the flair on


text

Optional text: string

The flair text


textColor

Optional textColor: FlairTextColor

The flair text color. Either 'dark' or 'light'.