class MatSelect

Public Instance Methods

option(*args) click to toggle source
# File lib/insite/examples/material_angular_io/components/mat_select.rb, line 8
def option(*args)
  mat_option(parse_args(args).merge!(css: "[#{ngcontent}='']"))
end
options(*args) click to toggle source
# File lib/insite/examples/material_angular_io/components/mat_select.rb, line 4
def options(*args)
  mat_options(parse_args(args).merge!(css: "[#{ngcontent}='']"))
end
select(*values) click to toggle source
# File lib/insite/examples/material_angular_io/components/mat_select.rb, line 12
def select(*values)
  values.each { |val| option(text: process_value(val)) }.click
end