Sha256: a3b80ade79aec26ccebbf62a5071db904c8c7d7b274da725aeacaa7cfbf6c50e
Contents?: true
Size: 843 Bytes
Versions: 24
Compression:
Stored size: 843 Bytes
Contents
module Locomotive class EditableTextPresenter < EditableElementPresenter ## properties ## properties :content, :default_content properties :format, :line_break, :rows, only_getter: true ## callbacks ## set_callback :set_attributes, :after, :set_default_content ## other getters / setters ## def default_content=(value) @default_content = value end ## methods ## protected def set_default_content # if the default content was not explicitly set, set it to false self.__source.default_content = @default_content.nil? ? false : @default_content end end end module Locomotive class EditableShortTextPresenter < EditableTextPresenter # @deprecated end end module Locomotive class EditableLongTextPresenter < EditableTextPresenter # @deprecated end end
Version data entries
24 entries across 24 versions & 2 rubygems