Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/yaml/dist/stringify/foldFlowLines.d.ts>FoldOptions

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
interface FoldOptions
import { type FoldOptions } from "https://deno.land/x/windmill@v1.44.0/node_modules/yaml/dist/stringify/foldFlowLines.d.ts";

Properties

optional
indentAtStart: number

Accounts for leading contents on the first line, defaulting to indent.length

optional
lineWidth: number

Default: 80

optional
minContentWidth: number

Allow highly indented lines to stretch the line width or indent content from the start.

Default: 20

optional
onFold: () => void

Called once if the text is folded

optional
onOverflow: () => void

Called once if any line of text exceeds lineWidth characters