Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Input.prototype.fromOffset
Re-export
import { Input } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

Converts source offset to line and column.

Parameters

offset: number

Source offset.

Returns

{ line: number; col: number; } | null