Types restricts the visible files to the given extensions.
(exts ...string)
| 193 | |
| 194 | // Types restricts the visible files to the given extensions. |
| 195 | func (b *SavePickerBuilder) Types(exts ...string) *SavePickerBuilder { |
| 196 | b.opts.Extensions = normalizeExtensions(exts) |
| 197 | return b |
| 198 | } |
| 199 | |
| 200 | // StartDir sets the directory the picker opens in. |
| 201 | func (b *SavePickerBuilder) StartDir(path string) *SavePickerBuilder { |
nothing calls this directly
no test coverage detected