Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreateTextFileOptions

Hierarchy

Index

Properties

Optional encoding

encoding: string

The encoding to use when updating a file.

Optional fromUserGesture

fromUserGesture: boolean

Indicates that a user action triggered the opening, e.g. via mouse or keyboard use. Default is true.

Optional overwrite

overwrite: boolean

Overwrite the file to create if it already exists on disk. Otherwise an error will be thrown (FILE_MODIFIED_SINCE).

Optional overwriteEncoding

overwriteEncoding: boolean

If set to true, will enforce the selected encoding and not perform any detection using BOMs.