Sha256: 0fb70c341f552bf07be981eeb202c041d5d76c3b74585e4296ffdf5fdb170b4c
Contents?: true
Size: 589 Bytes
Versions: 12
Compression:
Stored size: 589 Bytes
Contents
module TaoUi module Components class ConfirmPopoverComponent < PopoverComponent attr_reader :confirm_text, :cancel_text def initialize view, options super view, options @confirm_text = @options[:confirm_text] || I18n.t('tao_ui.components.dialog.confirm') @cancel_text = @options[:cancel_text] || I18n.t('tao_ui.components.dialog.cancel') end def self.component_name :confirm_popover end private def default_options merge_options super, {class: 'tao-confirm-popover'} end end end end
Version data entries
12 entries across 12 versions & 1 rubygems