method PrinterService.selected
PrinterService.selected(message: string): string

Return the provided message so that the background is colored as selected content. The actual color will depend on the value of darkMode. Has no effect if colorEnabled is false.

Parameters

message: string

Return Type

string

Usage

import type PrinterService from ".";