OptionalalwaysOptionalcontentCallback for providing custom HTML content, to render below any pills.
OptionalenabledAn optional callback to determine if this trait should show for the target sheet. When this callback is excluded, it is considered enabled by default. When enabled returns false, the trait does not render to the sheet.
OptionaliconAn optional class for an <i> element to render an icon. Currently cupports FontAwesome and RPG Awesome.
OptionalopenHandler for when the configuration command is executed. This could be when a user clicks an edit/configuration button on the sheet.
OptionalopenThe tooltip to show when hovering over the trait configuration button.
OptionalpillsCallback for providing pills to include with the custom trait section. Parameters:
The primary title text to display for this trait.
Empty traits can be collapsed. Set to
trueto never hide this trait. Default:false.