import { DaffToastPositionService } from '@daffodil/design/toast'
@Injectable()
class DaffToastPositionService {
config: DaffToastPosition
setPosition(position: DaffToastPosition): void
}
DaffToastPosition
Default | – |
---|---|
Description | Reads the current position of the toast. Defaults to bottom center on mobile devices. |
void
Changes the position of the toast.
Parameter | position: DaffToastPosition |
---|---|
Description | The position of the toast. |