Sha256: e400231aafca5922ecbff05d516b62ee8dd6d752a04090328f35aea5994b3f46
Contents?: true
Size: 499 Bytes
Versions: 12
Compression:
Stored size: 499 Bytes
Contents
module TaoUi module Components class ConfirmDialogComponent < MessageDialogComponent attr_reader :cancel_text def initialize view, options super view, options @cancel_text = @options[:cancel_text] || I18n.t('tao_ui.components.dialog.cancel') end def self.component_name :confirm_dialog end private def default_options {class: 'tao-dialog tao-confirm-dialog', with_close_button: false} end end end end
Version data entries
12 entries across 12 versions & 1 rubygems