struct WebView::DialogFileFilter

Overview

This module helps filtering files shown in dialogs. E.g: "only show markdown file"

Defined in:

components/web_view/dialog_file_filter.cr

Constructors

Constructor Detail

def self.new(name : String, pattern : String) #

Initializes a new DialogFileFilter, given its name and pattern

WebView::DialogFileFilter.new "Markdown", "*.md"

[View source]