Module: Ruflet::DSL

Defined in:
lib/ruflet_ui/ruflet/dsl.rb

Defined Under Namespace

Classes: App

Constant Summary collapse

DURATION_FACTORS_MS =
{
  days: 86_400_000.0,
  hours: 3_600_000.0,
  minutes: 60_000.0,
  seconds: 1_000.0,
  milliseconds: 1.0,
  microseconds: 0.001
}.freeze

Class Method Summary collapse

Class Method Details

._pending_appObject



29
30
31
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 29

def _pending_app
  @_pending_app ||= App.new(host: default_host, port: default_port)
end

._reset_pending_app!Object



33
34
35
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 33

def _reset_pending_app!
  @_pending_app = App.new(host: default_host, port: default_port)
end

.alert_dialog(**props) ⇒ Object



246
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 246

def alert_dialog(**props) = _pending_app.alert_dialog(**props)

.alertdialog(**props) ⇒ Object



247
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 247

def alertdialog(**props) = _pending_app.alertdialog(**props)

.animated_switcher(content = nil, **props) ⇒ Object



59
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 59

def animated_switcher(content = nil, **props) = _pending_app.animated_switcher(content, **props)

.animatedswitcher(content = nil, **props) ⇒ Object



60
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 60

def animatedswitcher(content = nil, **props) = _pending_app.animatedswitcher(content, **props)

.animation(duration = nil, **props) ⇒ Object



61
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 61

def animation(duration = nil, **props) = _pending_app.animation(duration, **props)

.animation_style(**props) ⇒ Object



62
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 62

def animation_style(**props) = _pending_app.animation_style(**props)

.app(host: nil, port: nil, &block) ⇒ Object



37
38
39
40
41
42
43
44
45
46
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 37

def app(host: nil, port: nil, &block)
  host ||= default_host
  port ||= default_port
  return App.new(host: host, port: port).tap { |a| a.instance_eval(&block) } if block

  pending = _pending_app
  pending.set_endpoint!(host: host, port: port)
  _reset_pending_app!
  pending
end

.app_bar(**props) ⇒ Object



221
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 221

def app_bar(**props) = _pending_app.app_bar(**props)

.appbar(**props) ⇒ Object



222
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 222

def appbar(**props) = _pending_app.appbar(**props)

.arc(**props) ⇒ Object



87
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 87

def arc(**props) = _pending_app.arc(**props)

.audio(**props) ⇒ Object



63
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 63

def audio(**props) = _pending_app.audio(**props)

.auto_complete(suggestions = nil, **props) ⇒ Object



64
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 64

def auto_complete(suggestions = nil, **props) = _pending_app.auto_complete(suggestions, **props)

.auto_complete_suggestion(key = nil, **props) ⇒ Object



66
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 66

def auto_complete_suggestion(key = nil, **props) = _pending_app.auto_complete_suggestion(key, **props)

.autocomplete(suggestions = nil, **props) ⇒ Object



65
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 65

def autocomplete(suggestions = nil, **props) = _pending_app.autocomplete(suggestions, **props)

.autocomplete_suggestion(key = nil, **props) ⇒ Object



67
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 67

def autocomplete_suggestion(key = nil, **props) = _pending_app.autocomplete_suggestion(key, **props)

.autocompletesuggestion(key = nil, **props) ⇒ Object



68
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 68

def autocompletesuggestion(key = nil, **props) = _pending_app.autocompletesuggestion(key, **props)

.autofill_group(content = nil, **props) ⇒ Object



71
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 71

def autofill_group(content = nil, **props) = _pending_app.autofill_group(content, **props)

.autofillgroup(content = nil, **props) ⇒ Object



72
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 72

def autofillgroup(content = nil, **props) = _pending_app.autofillgroup(content, **props)

.badge(label = nil, **props) ⇒ Object



199
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 199

def badge(label = nil, **props) = _pending_app.badge(label, **props)


203
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 203

def banner(content = nil, **props) = _pending_app.banner(content, **props)

.bar_chart(**props) ⇒ Object



273
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 273

def bar_chart(**props) = _pending_app.bar_chart(**props)

.bar_chart_group(**props) ⇒ Object



275
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 275

def bar_chart_group(**props) = _pending_app.bar_chart_group(**props)

.bar_chart_rod(**props) ⇒ Object



277
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 277

def bar_chart_rod(**props) = _pending_app.bar_chart_rod(**props)

.bar_chart_rod_stack_item(**props) ⇒ Object



279
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 279

def bar_chart_rod_stack_item(**props) = _pending_app.bar_chart_rod_stack_item(**props)

.barchart(**props) ⇒ Object



274
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 274

def barchart(**props) = _pending_app.barchart(**props)

.barchartgroup(**props) ⇒ Object



276
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 276

def barchartgroup(**props) = _pending_app.barchartgroup(**props)

.barchartrod(**props) ⇒ Object



278
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 278

def barchartrod(**props) = _pending_app.barchartrod(**props)

.barchartrodstackitem(**props) ⇒ Object



280
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 280

def barchartrodstackitem(**props) = _pending_app.barchartrodstackitem(**props)

.bottom_app_bar(content = nil, **props) ⇒ Object



204
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 204

def bottom_app_bar(content = nil, **props) = _pending_app.bottom_app_bar(content, **props)

.bottom_sheet(content = nil, **props) ⇒ Object



250
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 250

def bottom_sheet(content = nil, **props) = _pending_app.bottom_sheet(content, **props)

.bottomappbar(content = nil, **props) ⇒ Object



205
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 205

def bottomappbar(content = nil, **props) = _pending_app.bottomappbar(content, **props)

.bottomsheet(content = nil, **props) ⇒ Object



251
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 251

def bottomsheet(content = nil, **props) = _pending_app.bottomsheet(content, **props)

.button(content = nil, **props) ⇒ Object



207
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 207

def button(content = nil, **props) = _pending_app.button(content, **props)

.candlestick_chart(**props) ⇒ Object



291
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 291

def candlestick_chart(**props) = _pending_app.candlestick_chart(**props)

.candlestick_chart_spot(**props) ⇒ Object



293
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 293

def candlestick_chart_spot(**props) = _pending_app.candlestick_chart_spot(**props)

.candlestickchart(**props) ⇒ Object



292
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 292

def candlestickchart(**props) = _pending_app.candlestickchart(**props)

.candlestickchartspot(**props) ⇒ Object



294
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 294

def candlestickchartspot(**props) = _pending_app.candlestickchartspot(**props)

.canvas(shapes = nil, **props) ⇒ Object



84
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 84

def canvas(shapes = nil, **props) = _pending_app.canvas(shapes, **props)

.canvas_color(**props) ⇒ Object



89
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 89

def canvas_color(**props) = _pending_app.canvas_color(**props)

.card(content = nil, **props) ⇒ Object



111
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 111

def card(content = nil, **props) = _pending_app.card(content, **props)

.center(**props, &block) ⇒ Object



53
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 53

def center(**props, &block) = _pending_app.center(**props, &block)

.chart_axis(**props) ⇒ Object



307
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 307

def chart_axis(**props) = _pending_app.chart_axis(**props)

.chart_axis_label(**props) ⇒ Object



309
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 309

def chart_axis_label(**props) = _pending_app.chart_axis_label(**props)

.chartaxis(**props) ⇒ Object



308
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 308

def chartaxis(**props) = _pending_app.chartaxis(**props)

.chartaxislabel(**props) ⇒ Object



310
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 310

def chartaxislabel(**props) = _pending_app.chartaxislabel(**props)

.checkbox(**props) ⇒ Object



238
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 238

def checkbox(**props) = _pending_app.checkbox(**props)

.chip(label = nil, **props) ⇒ Object



200
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 200

def chip(label = nil, **props) = _pending_app.chip(label, **props)

.circle(**props) ⇒ Object



86
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 86

def circle(**props) = _pending_app.circle(**props)

.circle_avatar(content = nil, **props) ⇒ Object



201
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 201

def circle_avatar(content = nil, **props) = _pending_app.circle_avatar(content, **props)

.circle_layer(circles = nil, **props) ⇒ Object



120
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 120

def circle_layer(circles = nil, **props) = _pending_app.circle_layer(circles, **props)

.circle_marker(**props) ⇒ Object



122
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 122

def circle_marker(**props) = _pending_app.circle_marker(**props)

.circleavatar(content = nil, **props) ⇒ Object



202
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 202

def circleavatar(content = nil, **props) = _pending_app.circleavatar(content, **props)

.circlelayer(circles = nil, **props) ⇒ Object



121
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 121

def circlelayer(circles = nil, **props) = _pending_app.circlelayer(circles, **props)

.circlemarker(**props) ⇒ Object



123
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 123

def circlemarker(**props) = _pending_app.circlemarker(**props)

.clipboard(**props) ⇒ Object



223
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 223

def clipboard(**props) = _pending_app.clipboard(**props)

.code_editor(value = nil, **props) ⇒ Object



315
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 315

def code_editor(value = nil, **props) = _pending_app.code_editor(value, **props)

.codeeditor(value = nil, **props) ⇒ Object



316
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 316

def codeeditor(value = nil, **props) = _pending_app.codeeditor(value, **props)

.color(**props) ⇒ Object



88
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 88

def color(**props) = _pending_app.color(**props)

.column(children = nil, **props, &block) ⇒ Object



52
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 52

def column(children = nil, **props, &block) = _pending_app.column(children, **props, &block)

.container(**props, &block) ⇒ Object



58
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 58

def container(**props, &block) = _pending_app.container(**props, &block)

.context_menu(content = nil, **props) ⇒ Object



69
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 69

def context_menu(content = nil, **props) = _pending_app.context_menu(content, **props)

.contextmenu(content = nil, **props) ⇒ Object



70
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 70

def contextmenu(content = nil, **props) = _pending_app.contextmenu(content, **props)

.control(type, **props, &block) ⇒ Object



49
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 49

def control(type, **props, &block) = _pending_app.control(type, **props, &block)

.cupertino_action_sheet(**props) ⇒ Object



339
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 339

def cupertino_action_sheet(**props) = _pending_app.cupertino_action_sheet(**props)

.cupertino_action_sheet_action(**props) ⇒ Object



341
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 341

def cupertino_action_sheet_action(**props) = _pending_app.cupertino_action_sheet_action(**props)

.cupertino_activity_indicator(**props) ⇒ Object



343
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 343

def cupertino_activity_indicator(**props) = _pending_app.cupertino_activity_indicator(**props)

.cupertino_alert_dialog(**props) ⇒ Object



337
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 337

def cupertino_alert_dialog(**props) = _pending_app.cupertino_alert_dialog(**props)

.cupertino_app_bar(**props) ⇒ Object



345
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 345

def cupertino_app_bar(**props) = _pending_app.cupertino_app_bar(**props)

.cupertino_bottom_sheet(content = nil, **props) ⇒ Object



347
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 347

def cupertino_bottom_sheet(content = nil, **props) = _pending_app.cupertino_bottom_sheet(content, **props)

.cupertino_button(content = nil, **props) ⇒ Object



319
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 319

def cupertino_button(content = nil, **props) = _pending_app.cupertino_button(content, **props)

.cupertino_checkbox(**props) ⇒ Object



325
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 325

def cupertino_checkbox(**props) = _pending_app.cupertino_checkbox(**props)

.cupertino_context_menu(**props) ⇒ Object



353
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 353

def cupertino_context_menu(**props) = _pending_app.cupertino_context_menu(**props)

.cupertino_context_menu_action(**props) ⇒ Object



355
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 355

def cupertino_context_menu_action(**props) = _pending_app.cupertino_context_menu_action(**props)

.cupertino_date_picker(**props) ⇒ Object



349
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 349

def cupertino_date_picker(**props) = _pending_app.cupertino_date_picker(**props)

.cupertino_dialog_action(**props) ⇒ Object



351
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 351

def cupertino_dialog_action(**props) = _pending_app.cupertino_dialog_action(**props)

.cupertino_filled_button(content = nil, **props) ⇒ Object



321
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 321

def cupertino_filled_button(content = nil, **props) = _pending_app.cupertino_filled_button(content, **props)

.cupertino_list_tile(**props) ⇒ Object



357
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 357

def cupertino_list_tile(**props) = _pending_app.cupertino_list_tile(**props)

.cupertino_navigation_bar(**props) ⇒ Object



359
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 359

def cupertino_navigation_bar(**props) = _pending_app.cupertino_navigation_bar(**props)

.cupertino_picker(children = nil, **props) ⇒ Object



361
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 361

def cupertino_picker(children = nil, **props) = _pending_app.cupertino_picker(children, **props)

.cupertino_radio(**props) ⇒ Object



335
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 335

def cupertino_radio(**props) = _pending_app.cupertino_radio(**props)

.cupertino_segmented_button(children = nil, **props) ⇒ Object



363
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 363

def cupertino_segmented_button(children = nil, **props) = _pending_app.cupertino_segmented_button(children, **props)

.cupertino_slider(**props) ⇒ Object



333
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 333

def cupertino_slider(**props) = _pending_app.cupertino_slider(**props)

.cupertino_sliding_segmented_button(children = nil, **props) ⇒ Object



365
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 365

def cupertino_sliding_segmented_button(children = nil, **props) = _pending_app.cupertino_sliding_segmented_button(children, **props)

.cupertino_switch(**props) ⇒ Object



331
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 331

def cupertino_switch(**props) = _pending_app.cupertino_switch(**props)

.cupertino_text_field(value = nil, **props) ⇒ Object



327
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 327

def cupertino_text_field(value = nil, **props) = _pending_app.cupertino_text_field(value, **props)

.cupertino_timer_picker(**props) ⇒ Object



329
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 329

def cupertino_timer_picker(**props) = _pending_app.cupertino_timer_picker(**props)

.cupertino_tinted_button(content = nil, **props) ⇒ Object



323
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 323

def cupertino_tinted_button(content = nil, **props) = _pending_app.cupertino_tinted_button(content, **props)

.cupertinoactionsheet(**props) ⇒ Object



340
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 340

def cupertinoactionsheet(**props) = _pending_app.cupertinoactionsheet(**props)

.cupertinoactionsheetaction(**props) ⇒ Object



342
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 342

def cupertinoactionsheetaction(**props) = _pending_app.cupertinoactionsheetaction(**props)

.cupertinoactivityindicator(**props) ⇒ Object



344
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 344

def cupertinoactivityindicator(**props) = _pending_app.cupertinoactivityindicator(**props)

.cupertinoalertdialog(**props) ⇒ Object



338
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 338

def cupertinoalertdialog(**props) = _pending_app.cupertinoalertdialog(**props)

.cupertinoappbar(**props) ⇒ Object



346
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 346

def cupertinoappbar(**props) = _pending_app.cupertinoappbar(**props)

.cupertinobottomsheet(content = nil, **props) ⇒ Object



348
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 348

def cupertinobottomsheet(content = nil, **props) = _pending_app.cupertinobottomsheet(content, **props)

.cupertinobutton(content = nil, **props) ⇒ Object



320
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 320

def cupertinobutton(content = nil, **props) = _pending_app.cupertinobutton(content, **props)

.cupertinocheckbox(**props) ⇒ Object



326
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 326

def cupertinocheckbox(**props) = _pending_app.cupertinocheckbox(**props)

.cupertinocontextmenu(**props) ⇒ Object



354
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 354

def cupertinocontextmenu(**props) = _pending_app.cupertinocontextmenu(**props)

.cupertinocontextmenuaction(**props) ⇒ Object



356
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 356

def cupertinocontextmenuaction(**props) = _pending_app.cupertinocontextmenuaction(**props)

.cupertinodatepicker(**props) ⇒ Object



350
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 350

def cupertinodatepicker(**props) = _pending_app.cupertinodatepicker(**props)

.cupertinodialogaction(**props) ⇒ Object



352
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 352

def cupertinodialogaction(**props) = _pending_app.cupertinodialogaction(**props)

.cupertinofilledbutton(content = nil, **props) ⇒ Object



322
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 322

def cupertinofilledbutton(content = nil, **props) = _pending_app.cupertinofilledbutton(content, **props)

.cupertinolisttile(**props) ⇒ Object



358
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 358

def cupertinolisttile(**props) = _pending_app.cupertinolisttile(**props)

.cupertinonavigationbar(**props) ⇒ Object



360
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 360

def cupertinonavigationbar(**props) = _pending_app.cupertinonavigationbar(**props)

.cupertinopicker(children = nil, **props) ⇒ Object



362
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 362

def cupertinopicker(children = nil, **props) = _pending_app.cupertinopicker(children, **props)

.cupertinoradio(**props) ⇒ Object



336
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 336

def cupertinoradio(**props) = _pending_app.cupertinoradio(**props)

.cupertinosegmentedbutton(children = nil, **props) ⇒ Object



364
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 364

def cupertinosegmentedbutton(children = nil, **props) = _pending_app.cupertinosegmentedbutton(children, **props)

.cupertinoslider(**props) ⇒ Object



334
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 334

def cupertinoslider(**props) = _pending_app.cupertinoslider(**props)

.cupertinoslidingsegmentedbutton(children = nil, **props) ⇒ Object



366
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 366

def cupertinoslidingsegmentedbutton(children = nil, **props) = _pending_app.cupertinoslidingsegmentedbutton(children, **props)

.cupertinoswitch(**props) ⇒ Object



332
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 332

def cupertinoswitch(**props) = _pending_app.cupertinoswitch(**props)

.cupertinotextfield(value = nil, **props) ⇒ Object



328
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 328

def cupertinotextfield(value = nil, **props) = _pending_app.cupertinotextfield(value, **props)

.cupertinotimerpicker(**props) ⇒ Object



330
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 330

def cupertinotimerpicker(**props) = _pending_app.cupertinotimerpicker(**props)

.cupertinotintedbutton(content = nil, **props) ⇒ Object



324
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 324

def cupertinotintedbutton(content = nil, **props) = _pending_app.cupertinotintedbutton(content, **props)

.data_cell(content = nil, **props) ⇒ Object



159
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 159

def data_cell(content = nil, **props) = _pending_app.data_cell(content, **props)

.data_column(label = nil, **props) ⇒ Object



155
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 155

def data_column(label = nil, **props) = _pending_app.data_column(label, **props)

.data_row(cells = nil, **props) ⇒ Object



157
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 157

def data_row(cells = nil, **props) = _pending_app.data_row(cells, **props)

.data_table(columns = nil, **props) ⇒ Object



153
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 153

def data_table(columns = nil, **props) = _pending_app.data_table(columns, **props)

.datacell(content = nil, **props) ⇒ Object



160
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 160

def datacell(content = nil, **props) = _pending_app.datacell(content, **props)

.datacolumn(label = nil, **props) ⇒ Object



156
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 156

def datacolumn(label = nil, **props) = _pending_app.datacolumn(label, **props)

.datarow(cells = nil, **props) ⇒ Object



158
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 158

def datarow(cells = nil, **props) = _pending_app.datarow(cells, **props)

.datatable(columns = nil, **props) ⇒ Object



154
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 154

def datatable(columns = nil, **props) = _pending_app.datatable(columns, **props)

.date_picker(**props) ⇒ Object



149
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 149

def date_picker(**props) = _pending_app.date_picker(**props)

.date_range_picker(**props) ⇒ Object



151
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 151

def date_range_picker(**props) = _pending_app.date_range_picker(**props)

.datepicker(**props) ⇒ Object



150
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 150

def datepicker(**props) = _pending_app.datepicker(**props)

.daterangepicker(**props) ⇒ Object



152
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 152

def daterangepicker(**props) = _pending_app.daterangepicker(**props)

.default_hostObject



19
20
21
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 19

def default_host
  ENV["RUFLET_HOST"].to_s.strip.empty? ? "0.0.0.0" : ENV["RUFLET_HOST"].to_s
end

.default_portObject



23
24
25
26
27
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 23

def default_port
  raw = ENV["RUFLET_PORT"].to_s
  value = raw.to_i
  value > 0 ? value : 8550
end

.dismissible(content = nil, **props) ⇒ Object



108
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 108

def dismissible(content = nil, **props) = _pending_app.dismissible(content, **props)

.divider(**props) ⇒ Object



144
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 144

def divider(**props) = _pending_app.divider(**props)

.drag_target(content = nil, **props, &block) ⇒ Object



109
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 109

def drag_target(content = nil, **props, &block) = _pending_app.drag_target(content, **props, &block)

.draggable(content = nil, **props, &block) ⇒ Object



107
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 107

def draggable(content = nil, **props, &block) = _pending_app.draggable(content, **props, &block)

.dragtarget(content = nil, **props, &block) ⇒ Object



110
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 110

def dragtarget(content = nil, **props, &block) = _pending_app.dragtarget(content, **props, &block)


167
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 167

def dropdown(options = nil, **props) = _pending_app.dropdown(options, **props)


170
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 170

def dropdown_m2(options = nil, **props) = _pending_app.dropdown_m2(options, **props)


168
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 168

def dropdown_option(key = nil, **props) = _pending_app.dropdown_option(key, **props)


171
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 171

def dropdownm2(options = nil, **props) = _pending_app.dropdownm2(options, **props)


169
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 169

def dropdownoption(key = nil, **props) = _pending_app.dropdownoption(key, **props)

.duration(**parts) ⇒ Object



367
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 367

def duration(**parts) = duration_in_milliseconds(parts)

.duration_in_milliseconds(parts) ⇒ Object



479
480
481
482
483
484
485
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 479

def duration_in_milliseconds(parts)
  return 0 if parts.nil? || parts.empty?

  DURATION_FACTORS_MS.reduce(0.0) do |sum, (key, factor)|
    sum + read_duration_part(parts, key) * factor
  end.round
end

.elevated_button(content = nil, **props) ⇒ Object



208
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 208

def elevated_button(content = nil, **props) = _pending_app.elevated_button(content, **props)

.expansion_panel(**props) ⇒ Object



163
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 163

def expansion_panel(**props) = _pending_app.expansion_panel(**props)

.expansion_panel_list(children = nil, **props) ⇒ Object



165
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 165

def expansion_panel_list(children = nil, **props) = _pending_app.expansion_panel_list(children, **props)

.expansion_tile(children = nil, **props) ⇒ Object



161
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 161

def expansion_tile(children = nil, **props) = _pending_app.expansion_tile(children, **props)

.expansionpanel(**props) ⇒ Object



164
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 164

def expansionpanel(**props) = _pending_app.expansionpanel(**props)

.expansionpanellist(children = nil, **props) ⇒ Object



166
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 166

def expansionpanellist(children = nil, **props) = _pending_app.expansionpanellist(children, **props)

.expansiontile(children = nil, **props) ⇒ Object



162
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 162

def expansiontile(children = nil, **props) = _pending_app.expansiontile(children, **props)

.fab(content = nil, **props) ⇒ Object



318
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 318

def fab(content = nil, **props) = _pending_app.fab(content, **props)

.fill(**props) ⇒ Object



90
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 90

def fill(**props) = _pending_app.fill(**props)

.filled_button(content = nil, **props) ⇒ Object



226
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 226

def filled_button(content = nil, **props) = _pending_app.filled_button(content, **props)

.filled_icon_button(icon = nil, **props) ⇒ Object



228
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 228

def filled_icon_button(icon = nil, **props) = _pending_app.filled_icon_button(icon, **props)

.filled_tonal_button(content = nil, **props) ⇒ Object



230
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 230

def filled_tonal_button(content = nil, **props) = _pending_app.filled_tonal_button(content, **props)

.filled_tonal_icon_button(icon = nil, **props) ⇒ Object



232
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 232

def filled_tonal_icon_button(icon = nil, **props) = _pending_app.filled_tonal_icon_button(icon, **props)

.filledbutton(content = nil, **props) ⇒ Object



227
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 227

def filledbutton(content = nil, **props) = _pending_app.filledbutton(content, **props)

.fillediconbutton(icon = nil, **props) ⇒ Object



229
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 229

def fillediconbutton(icon = nil, **props) = _pending_app.fillediconbutton(icon, **props)

.filledtonalbutton(content = nil, **props) ⇒ Object



231
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 231

def filledtonalbutton(content = nil, **props) = _pending_app.filledtonalbutton(content, **props)

.filledtonaliconbutton(icon = nil, **props) ⇒ Object



233
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 233

def filledtonaliconbutton(icon = nil, **props) = _pending_app.filledtonaliconbutton(icon, **props)

.floating_action_button(**props) ⇒ Object



253
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 253

def floating_action_button(**props) = _pending_app.floating_action_button(**props)

.floatingactionbutton(**props) ⇒ Object



254
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 254

def floatingactionbutton(**props) = _pending_app.floatingactionbutton(**props)

.gesture_detector(**props, &block) ⇒ Object



82
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 82

def gesture_detector(**props, &block) = _pending_app.gesture_detector(**props, &block)

.gesturedetector(**props, &block) ⇒ Object



83
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 83

def gesturedetector(**props, &block) = _pending_app.gesturedetector(**props, &block)

.grid_view(children = nil, **props, &block) ⇒ Object



56
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 56

def grid_view(children = nil, **props, &block) = _pending_app.grid_view(children, **props, &block)

.gridview(children = nil, **props, &block) ⇒ Object



57
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 57

def gridview(children = nil, **props, &block) = _pending_app.gridview(children, **props, &block)

.hero(content = nil, **props) ⇒ Object



73
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 73

def hero(content = nil, **props) = _pending_app.hero(content, **props)

.icon(icon = nil, **props) ⇒ Object



211
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 211

def icon(icon = nil, **props) = _pending_app.icon(icon, **props)

.icon_button(icon = nil, **props) ⇒ Object



213
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 213

def icon_button(icon = nil, **props) = _pending_app.icon_button(icon, **props)

.iconbutton(icon = nil, **props) ⇒ Object



214
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 214

def iconbutton(icon = nil, **props) = _pending_app.iconbutton(icon, **props)

.image(src = nil, **props) ⇒ Object



212
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 212

def image(src = nil, **props) = _pending_app.image(src, **props)

.interactive_viewer(content = nil, **props) ⇒ Object



215
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 215

def interactive_viewer(content = nil, **props) = _pending_app.interactive_viewer(content, **props)

.interactiveviewer(content = nil, **props) ⇒ Object



216
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 216

def interactiveviewer(content = nil, **props) = _pending_app.interactiveviewer(content, **props)

.keyboard_listener(content = nil, **props) ⇒ Object



80
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 80

def keyboard_listener(content = nil, **props) = _pending_app.keyboard_listener(content, **props)

.keyboardlistener(content = nil, **props) ⇒ Object



81
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 81

def keyboardlistener(content = nil, **props) = _pending_app.keyboardlistener(content, **props)

.line(**props) ⇒ Object



85
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 85

def line(**props) = _pending_app.line(**props)

.line_chart(**props) ⇒ Object



281
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 281

def line_chart(**props) = _pending_app.line_chart(**props)

.line_chart_data(**props) ⇒ Object



283
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 283

def line_chart_data(**props) = _pending_app.line_chart_data(**props)

.line_chart_data_point(**props) ⇒ Object



285
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 285

def line_chart_data_point(**props) = _pending_app.line_chart_data_point(**props)

.linechart(**props) ⇒ Object



282
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 282

def linechart(**props) = _pending_app.linechart(**props)

.linechartdata(**props) ⇒ Object



284
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 284

def linechartdata(**props) = _pending_app.linechartdata(**props)

.linechartdatapoint(**props) ⇒ Object



286
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 286

def linechartdatapoint(**props) = _pending_app.linechartdatapoint(**props)

.list_tile(**props) ⇒ Object



112
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 112

def list_tile(**props) = _pending_app.list_tile(**props)

.list_view(children = nil, **props) ⇒ Object



134
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 134

def list_view(children = nil, **props) = _pending_app.list_view(children, **props)

.listtile(**props) ⇒ Object



113
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 113

def listtile(**props) = _pending_app.listtile(**props)

.listview(children = nil, **props) ⇒ Object



135
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 135

def listview(children = nil, **props) = _pending_app.listview(children, **props)

.map(layers = nil, **props) ⇒ Object



114
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 114

def map(layers = nil, **props) = _pending_app.map(layers, **props)

.markdown(value = nil, **props) ⇒ Object



252
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 252

def markdown(value = nil, **props) = _pending_app.markdown(value, **props)

.marker(content = nil, **props) ⇒ Object



119
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 119

def marker(content = nil, **props) = _pending_app.marker(content, **props)

.marker_layer(markers = nil, **props) ⇒ Object



117
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 117

def marker_layer(markers = nil, **props) = _pending_app.marker_layer(markers, **props)

.markerlayer(markers = nil, **props) ⇒ Object



118
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 118

def markerlayer(markers = nil, **props) = _pending_app.markerlayer(markers, **props)


136
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 136

def menu_bar(children = nil, **props) = _pending_app.menu_bar(children, **props)


138
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 138

def menu_item_button(content = nil, **props) = _pending_app.menu_item_button(content, **props)


137
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 137

def menubar(children = nil, **props) = _pending_app.menubar(children, **props)


139
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 139

def menuitembutton(content = nil, **props) = _pending_app.menuitembutton(content, **props)

.merge_semantics(content = nil, **props) ⇒ Object



140
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 140

def merge_semantics(content = nil, **props) = _pending_app.merge_semantics(content, **props)

.mergesemantics(content = nil, **props) ⇒ Object



141
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 141

def mergesemantics(content = nil, **props) = _pending_app.mergesemantics(content, **props)


261
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 261

def navigation_bar(**props, &block) = _pending_app.navigation_bar(**props, &block)


263
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 263

def navigation_bar_destination(**props, &block) = _pending_app.navigation_bar_destination(**props, &block)


269
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 269

def navigation_drawer(children = nil, **props) = _pending_app.navigation_drawer(children, **props)


271
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 271

def navigation_drawer_destination(**props) = _pending_app.navigation_drawer_destination(**props)


265
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 265

def navigation_rail(**props, &block) = _pending_app.navigation_rail(**props, &block)


267
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 267

def navigation_rail_destination(**props, &block) = _pending_app.navigation_rail_destination(**props, &block)


262
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 262

def navigationbar(**props, &block) = _pending_app.navigationbar(**props, &block)


264
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 264

def navigationbardestination(**props, &block) = _pending_app.navigationbardestination(**props, &block)


270
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 270

def navigationdrawer(children = nil, **props) = _pending_app.navigationdrawer(children, **props)


272
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 272

def navigationdrawerdestination(**props) = _pending_app.navigationdrawerdestination(**props)


266
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 266

def navigationrail(**props, &block) = _pending_app.navigationrail(**props, &block)


268
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 268

def navigationraildestination(**props, &block) = _pending_app.navigationraildestination(**props, &block)

.outlined_button(content = nil, **props) ⇒ Object



234
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 234

def outlined_button(content = nil, **props) = _pending_app.outlined_button(content, **props)

.outlined_icon_button(icon = nil, **props) ⇒ Object



236
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 236

def outlined_icon_button(icon = nil, **props) = _pending_app.outlined_icon_button(icon, **props)

.outlinedbutton(content = nil, **props) ⇒ Object



235
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 235

def outlinedbutton(content = nil, **props) = _pending_app.outlinedbutton(content, **props)

.outlinediconbutton(icon = nil, **props) ⇒ Object



237
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 237

def outlinediconbutton(icon = nil, **props) = _pending_app.outlinediconbutton(icon, **props)

.oval(**props) ⇒ Object



91
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 91

def oval(**props) = _pending_app.oval(**props)

.overlay(children = nil, **props) ⇒ Object



74
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 74

def overlay(children = nil, **props) = _pending_app.overlay(children, **props)

.page(**props, &block) ⇒ Object



48
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 48

def page(**props, &block) = _pending_app.page(**props, &block)

.page_view(children = nil, **props) ⇒ Object



175
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 175

def page_view(children = nil, **props) = _pending_app.page_view(children, **props)

.pageview(children = nil, **props) ⇒ Object



176
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 176

def pageview(children = nil, **props) = _pending_app.pageview(children, **props)

.paint(**props) ⇒ Object



96
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 96

def paint(**props) = _pending_app.paint(**props)

.path(**props) ⇒ Object



94
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 94

def path(**props) = _pending_app.path(**props)

.path_arc(**props) ⇒ Object



99
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 99

def path_arc(**props) = _pending_app.path_arc(**props)

.path_arc_to(**props) ⇒ Object



100
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 100

def path_arc_to(**props) = _pending_app.path_arc_to(**props)

.path_close(**props) ⇒ Object



106
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 106

def path_close(**props) = _pending_app.path_close(**props)

.path_cubic_to(**props) ⇒ Object



104
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 104

def path_cubic_to(**props) = _pending_app.path_cubic_to(**props)

.path_line_to(x = nil, y = nil, **props) ⇒ Object



98
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 98

def path_line_to(x = nil, y = nil, **props) = _pending_app.path_line_to(x, y, **props)

.path_move_to(x = nil, y = nil, **props) ⇒ Object



97
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 97

def path_move_to(x = nil, y = nil, **props) = _pending_app.path_move_to(x, y, **props)

.path_oval(**props) ⇒ Object



101
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 101

def path_oval(**props) = _pending_app.path_oval(**props)

.path_quadratic_to(**props) ⇒ Object



103
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 103

def path_quadratic_to(**props) = _pending_app.path_quadratic_to(**props)

.path_rect(**props) ⇒ Object



102
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 102

def path_rect(**props) = _pending_app.path_rect(**props)

.path_sub_path(**props) ⇒ Object



105
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 105

def path_sub_path(**props) = _pending_app.path_sub_path(**props)

.pie_chart(**props) ⇒ Object



287
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 287

def pie_chart(**props) = _pending_app.pie_chart(**props)

.pie_chart_section(**props) ⇒ Object



289
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 289

def pie_chart_section(**props) = _pending_app.pie_chart_section(**props)

.piechart(**props) ⇒ Object



288
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 288

def piechart(**props) = _pending_app.piechart(**props)

.piechartsection(**props) ⇒ Object



290
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 290

def piechartsection(**props) = _pending_app.piechartsection(**props)

.placeholder(content = nil, **props) ⇒ Object



174
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 174

def placeholder(content = nil, **props) = _pending_app.placeholder(content, **props)

.points(**props) ⇒ Object



92
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 92

def points(**props) = _pending_app.points(**props)

.polygon_layer(polygons = nil, **props) ⇒ Object



128
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 128

def polygon_layer(polygons = nil, **props) = _pending_app.polygon_layer(polygons, **props)

.polygon_marker(**props) ⇒ Object



130
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 130

def polygon_marker(**props) = _pending_app.polygon_marker(**props)

.polygonlayer(polygons = nil, **props) ⇒ Object



129
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 129

def polygonlayer(polygons = nil, **props) = _pending_app.polygonlayer(polygons, **props)

.polygonmarker(**props) ⇒ Object



131
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 131

def polygonmarker(**props) = _pending_app.polygonmarker(**props)

.polyline_layer(polylines = nil, **props) ⇒ Object



124
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 124

def polyline_layer(polylines = nil, **props) = _pending_app.polyline_layer(polylines, **props)

.polyline_marker(**props) ⇒ Object



126
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 126

def polyline_marker(**props) = _pending_app.polyline_marker(**props)

.polylinelayer(polylines = nil, **props) ⇒ Object



125
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 125

def polylinelayer(polylines = nil, **props) = _pending_app.polylinelayer(polylines, **props)

.polylinemarker(**props) ⇒ Object



127
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 127

def polylinemarker(**props) = _pending_app.polylinemarker(**props)


217
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 217

def popup_menu_button(items = nil, **props) = _pending_app.popup_menu_button(items, **props)


219
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 219

def popup_menu_item(content = nil, **props) = _pending_app.popup_menu_item(content, **props)

.popupmenubutton(items = nil, **props) ⇒ Object



218
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 218

def popupmenubutton(items = nil, **props) = _pending_app.popupmenubutton(items, **props)

.popupmenuitem(content = nil, **props) ⇒ Object



220
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 220

def popupmenuitem(content = nil, **props) = _pending_app.popupmenuitem(content, **props)

.progress_bar(**props) ⇒ Object



172
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 172

def progress_bar(**props) = _pending_app.progress_bar(**props)

.progress_ring(**props) ⇒ Object



177
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 177

def progress_ring(**props) = _pending_app.progress_ring(**props)

.progressbar(**props) ⇒ Object



173
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 173

def progressbar(**props) = _pending_app.progressbar(**props)

.progressring(**props) ⇒ Object



178
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 178

def progressring(**props) = _pending_app.progressring(**props)

.radar_chart(**props) ⇒ Object



295
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 295

def radar_chart(**props) = _pending_app.radar_chart(**props)

.radar_chart_title(**props) ⇒ Object



297
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 297

def radar_chart_title(**props) = _pending_app.radar_chart_title(**props)

.radar_data_set(**props) ⇒ Object



299
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 299

def radar_data_set(**props) = _pending_app.radar_data_set(**props)

.radar_data_set_entry(**props) ⇒ Object



301
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 301

def radar_data_set_entry(**props) = _pending_app.radar_data_set_entry(**props)

.radarchart(**props) ⇒ Object



296
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 296

def radarchart(**props) = _pending_app.radarchart(**props)

.radarcharttitle(**props) ⇒ Object



298
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 298

def radarcharttitle(**props) = _pending_app.radarcharttitle(**props)

.radardataset(**props) ⇒ Object



300
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 300

def radardataset(**props) = _pending_app.radardataset(**props)

.radardatasetentry(**props) ⇒ Object



302
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 302

def radardatasetentry(**props) = _pending_app.radardatasetentry(**props)

.radio(**props) ⇒ Object



243
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 243

def radio(**props) = _pending_app.radio(**props)

.radio_group(content = nil, **props) ⇒ Object



244
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 244

def radio_group(content = nil, **props) = _pending_app.radio_group(content, **props)

.radiogroup(content = nil, **props) ⇒ Object



245
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 245

def radiogroup(content = nil, **props) = _pending_app.radiogroup(content, **props)

.range_slider(**props) ⇒ Object



179
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 179

def range_slider(**props) = _pending_app.range_slider(**props)

.rangeslider(**props) ⇒ Object



180
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 180

def rangeslider(**props) = _pending_app.rangeslider(**props)

.read_duration_part(parts, key) ⇒ Object



487
488
489
490
491
492
493
494
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 487

def read_duration_part(parts, key)
  raw = parts[key] || parts[key.to_s]
  return 0.0 if raw.nil?
  return raw.to_f if raw.is_a?(Numeric)
  return raw.to_f if raw.is_a?(String) && raw.match?(/\A-?\d+(\.\d+)?\z/)

  0.0
end

.rect(**props) ⇒ Object



93
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 93

def rect(**props) = _pending_app.rect(**props)

.reorderable_drag_handle(content = nil, **props) ⇒ Object



183
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 183

def reorderable_drag_handle(content = nil, **props) = _pending_app.reorderable_drag_handle(content, **props)

.reorderable_list_view(children = nil, **props) ⇒ Object



185
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 185

def reorderable_list_view(children = nil, **props) = _pending_app.reorderable_list_view(children, **props)

.reorderabledraghandle(content = nil, **props) ⇒ Object



184
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 184

def reorderabledraghandle(content = nil, **props) = _pending_app.reorderabledraghandle(content, **props)

.reorderablelistview(children = nil, **props) ⇒ Object



186
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 186

def reorderablelistview(children = nil, **props) = _pending_app.reorderablelistview(children, **props)

.responsive_row(children = nil, **props, &block) ⇒ Object



181
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 181

def responsive_row(children = nil, **props, &block) = _pending_app.responsive_row(children, **props, &block)

.responsiverow(children = nil, **props, &block) ⇒ Object



182
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 182

def responsiverow(children = nil, **props, &block) = _pending_app.responsiverow(children, **props, &block)

.rive(src = nil, **props) ⇒ Object



317
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 317

def rive(src = nil, **props) = _pending_app.rive(src, **props)

.row(children = nil, **props, &block) ⇒ Object



54
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 54

def row(children = nil, **props, &block) = _pending_app.row(children, **props, &block)

.safe_area(content = nil, **props) ⇒ Object



187
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 187

def safe_area(content = nil, **props) = _pending_app.safe_area(content, **props)

.safearea(content = nil, **props) ⇒ Object



188
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 188

def safearea(content = nil, **props) = _pending_app.safearea(content, **props)

.scatter_chart(**props) ⇒ Object



303
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 303

def scatter_chart(**props) = _pending_app.scatter_chart(**props)

.scatter_chart_spot(**props) ⇒ Object



305
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 305

def scatter_chart_spot(**props) = _pending_app.scatter_chart_spot(**props)

.scatterchart(**props) ⇒ Object



304
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 304

def scatterchart(**props) = _pending_app.scatterchart(**props)

.scatterchartspot(**props) ⇒ Object



306
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 306

def scatterchartspot(**props) = _pending_app.scatterchartspot(**props)

.search_bar(children = nil, **props) ⇒ Object



194
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 194

def search_bar(children = nil, **props) = _pending_app.search_bar(children, **props)

.searchbar(children = nil, **props) ⇒ Object



195
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 195

def searchbar(children = nil, **props) = _pending_app.searchbar(children, **props)

.segment(value = nil, **props) ⇒ Object



189
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 189

def segment(value = nil, **props) = _pending_app.segment(value, **props)

.segmented_button(segments = nil, **props) ⇒ Object



190
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 190

def segmented_button(segments = nil, **props) = _pending_app.segmented_button(segments, **props)

.segmentedbutton(segments = nil, **props) ⇒ Object



191
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 191

def segmentedbutton(segments = nil, **props) = _pending_app.segmentedbutton(segments, **props)

.selection_area(content = nil, **props) ⇒ Object



192
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 192

def selection_area(content = nil, **props) = _pending_app.selection_area(content, **props)

.selectionarea(content = nil, **props) ⇒ Object



193
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 193

def selectionarea(content = nil, **props) = _pending_app.selectionarea(content, **props)

.semantics(content = nil, **props) ⇒ Object



196
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 196

def semantics(content = nil, **props) = _pending_app.semantics(content, **props)

.service(type, **props, &block) ⇒ Object



51
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 51

def service(type, **props, &block) = _pending_app.service(type, **props, &block)

.shader_mask(content = nil, **props) ⇒ Object



75
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 75

def shader_mask(content = nil, **props) = _pending_app.shader_mask(content, **props)

.shadermask(content = nil, **props) ⇒ Object



76
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 76

def shadermask(content = nil, **props) = _pending_app.shadermask(content, **props)

.shadow(**props) ⇒ Object



95
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 95

def shadow(**props) = _pending_app.shadow(**props)

.shimmer(content = nil, **props) ⇒ Object



77
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 77

def shimmer(content = nil, **props) = _pending_app.shimmer(content, **props)

.simple_attribution(**props) ⇒ Object



132
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 132

def simple_attribution(**props) = _pending_app.simple_attribution(**props)

.simpleattribution(**props) ⇒ Object



133
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 133

def simpleattribution(**props) = _pending_app.simpleattribution(**props)

.slider(**props) ⇒ Object



240
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 240

def slider(**props) = _pending_app.slider(**props)

.snack_bar(content = nil, **props) ⇒ Object



248
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 248

def snack_bar(content = nil, **props) = _pending_app.snack_bar(content, **props)

.snackbar(content = nil, **props) ⇒ Object



249
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 249

def snackbar(content = nil, **props) = _pending_app.snackbar(content, **props)

.spinkit(**variant) ⇒ Object



314
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 314

def spinkit(**variant) = _pending_app.spinkit(**variant)

.stack(children = nil, **props, &block) ⇒ Object



55
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 55

def stack(children = nil, **props, &block) = _pending_app.stack(children, **props, &block)


142
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 142

def submenu_button(children = nil, **props) = _pending_app.submenu_button(children, **props)


143
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 143

def submenubutton(children = nil, **props) = _pending_app.submenubutton(children, **props)

.switch(**props) ⇒ Object



239
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 239

def switch(**props) = _pending_app.switch(**props)

.tab(label = nil, **props, &block) ⇒ Object



256
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 256

def tab(label = nil, **props, &block) = _pending_app.tab(label, **props, &block)

.tab_bar(tabs = nil, **props, &block) ⇒ Object



257
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 257

def tab_bar(tabs = nil, **props, &block) = _pending_app.tab_bar(tabs, **props, &block)

.tab_bar_view(children = nil, **props, &block) ⇒ Object



259
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 259

def tab_bar_view(children = nil, **props, &block) = _pending_app.tab_bar_view(children, **props, &block)

.tabbar(tabs = nil, **props, &block) ⇒ Object



258
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 258

def tabbar(tabs = nil, **props, &block) = _pending_app.tabbar(tabs, **props, &block)

.tabbarview(children = nil, **props, &block) ⇒ Object



260
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 260

def tabbarview(children = nil, **props, &block) = _pending_app.tabbarview(children, **props, &block)

.tabs(content = nil, **props, &block) ⇒ Object



255
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 255

def tabs(content = nil, **props, &block) = _pending_app.tabs(content, **props, &block)

.text(value = nil, **props) ⇒ Object



206
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 206

def text(value = nil, **props) = _pending_app.text(value, **props)

.text_button(content = nil, **props) ⇒ Object



224
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 224

def text_button(content = nil, **props) = _pending_app.text_button(content, **props)

.text_field(value = nil, **props) ⇒ Object



209
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 209

def text_field(value = nil, **props) = _pending_app.text_field(value, **props)

.text_span(text = nil, **props) ⇒ Object



78
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 78

def text_span(text = nil, **props) = _pending_app.text_span(text, **props)

.textbutton(content = nil, **props) ⇒ Object



225
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 225

def textbutton(content = nil, **props) = _pending_app.textbutton(content, **props)

.textfield(value = nil, **props) ⇒ Object



210
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 210

def textfield(value = nil, **props) = _pending_app.textfield(value, **props)

.textspan(text = nil, **props) ⇒ Object



79
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 79

def textspan(text = nil, **props) = _pending_app.textspan(text, **props)

.tile_layer(**props) ⇒ Object



115
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 115

def tile_layer(**props) = _pending_app.tile_layer(**props)

.tilelayer(**props) ⇒ Object



116
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 116

def tilelayer(**props) = _pending_app.tilelayer(**props)

.time_picker(**props) ⇒ Object



197
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 197

def time_picker(**props) = _pending_app.time_picker(**props)

.timepicker(**props) ⇒ Object



198
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 198

def timepicker(**props) = _pending_app.timepicker(**props)

.transparent_pointer(content = nil, **props) ⇒ Object



241
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 241

def transparent_pointer(content = nil, **props) = _pending_app.transparent_pointer(content, **props)

.transparentpointer(content = nil, **props) ⇒ Object



242
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 242

def transparentpointer(content = nil, **props) = _pending_app.transparentpointer(content, **props)

.vertical_divider(**props) ⇒ Object



145
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 145

def vertical_divider(**props) = _pending_app.vertical_divider(**props)

.verticaldivider(**props) ⇒ Object



146
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 146

def verticaldivider(**props) = _pending_app.verticaldivider(**props)

.video(**props) ⇒ Object



313
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 313

def video(**props) = _pending_app.video(**props)

.web_view(**props) ⇒ Object



311
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 311

def web_view(**props) = _pending_app.web_view(**props)

.webview(**props) ⇒ Object



312
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 312

def webview(**props) = _pending_app.webview(**props)

.widget(type, **props, &block) ⇒ Object



50
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 50

def widget(type, **props, &block) = _pending_app.widget(type, **props, &block)

.window_drag_area(content = nil, **props) ⇒ Object



147
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 147

def window_drag_area(content = nil, **props) = _pending_app.window_drag_area(content, **props)

.windowdragarea(content = nil, **props) ⇒ Object



148
# File 'lib/ruflet_ui/ruflet/dsl.rb', line 148

def windowdragarea(content = nil, **props) = _pending_app.windowdragarea(content, **props)