Module: Satis
- Defined in:
- lib/satis/engine.rb,
lib/satis/version.rb,
lib/satis/menus/item.rb,
lib/satis/menus/menu.rb,
lib/satis/configuration.rb,
lib/satis/forms/builder.rb,
lib/satis/menus/builder.rb,
lib/satis/helpers/container.rb,
lib/satis/forms/concerns/file.rb,
app/jobs/satis/application_job.rb,
lib/satis/forms/concerns/select.rb,
lib/satis/forms/concerns/buttons.rb,
lib/satis/forms/concerns/options.rb,
lib/satis/forms/concerns/required.rb,
app/components/satis/map/component.rb,
app/components/satis/tab/component.rb,
app/components/satis/card/component.rb,
app/components/satis/info/component.rb,
app/components/satis/menu/component.rb,
app/components/satis/page/component.rb,
app/components/satis/tabs/component.rb,
app/models/satis/application_record.rb,
lib/satis/action_controller_helpers.rb,
app/components/satis/input/component.rb,
app/helpers/satis/application_helper.rb,
app/mailers/satis/application_mailer.rb,
app/components/satis/avatar/component.rb,
app/components/satis/switch/component.rb,
app/components/satis/dropdown/component.rb,
app/components/satis/info_item/component.rb,
app/components/satis/menu_item/component.rb,
app/components/satis/application_component.rb,
app/components/satis/breadcrumbs/component.rb,
app/components/satis/sidebar_menu/component.rb,
app/controllers/satis/application_controller.rb,
app/components/satis/flash_messages/component.rb,
app/components/satis/date_time_picker/component.rb,
app/components/satis/sidebar_menu_item/component.rb,
app/components/satis/appearance_switcher/component.rb,
app/components/satis/sidebar_menu/mobile/component.rb,
app/components/satis/sidebar_menu_item/mobile/component.rb,
lib/satis.rb
Defined Under Namespace
Modules: ActionControllerHelpers, AppearanceSwitcher, ApplicationHelper, Avatar, Breadcrumbs, Card, DateTimePicker, Dropdown, FlashMessages, Forms, Helpers, Info, InfoItem, Input, Map, Menu, MenuItem, Menus, Page, SidebarMenu, SidebarMenuItem, Switch, Tab, Tabs
Classes: ApplicationComponent, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Engine, StsWrapper
Constant Summary
collapse
- VERSION =
"1.0.67"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
13
14
15
|
# File 'lib/satis.rb', line 13
def config
@config
end
|
Class Method Details
.add_helper(name, component) ⇒ Object
32
33
34
|
# File 'lib/satis.rb', line 32
def add_helper(name, component)
Satis::Helpers::Container.add_helper(name, component)
end
|
.confirm_before_leave? ⇒ Boolean
20
21
22
23
24
|
# File 'lib/satis.rb', line 20
def confirm_before_leave?
return false if config.nil?
config.confirm_before_leave
end
|
.setup {|config| ... } ⇒ Object
15
16
17
18
|
# File 'lib/satis.rb', line 15
def setup
@config = Configuration.new
yield config
end
|
.submit_on_enter? ⇒ Boolean
26
27
28
29
30
|
# File 'lib/satis.rb', line 26
def submit_on_enter?
return true if config.nil?
config.submit_on_enter
end
|