class EditorJS::ImageDataBlock

Defined in:

editorjs/image_block.cr

Constructors

Instance Method Summary

Constructor methods inherited from class EditorJS::DataBlock

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(url : String, caption : String, withBorder : Bool, withBackground : Bool, stretched : Bool) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

[View source]

Instance Method Detail

def caption : String #

[View source]
def caption=(caption : String) #

[View source]
def stretched : Bool #

[View source]
def stretched=(stretched : Bool) #

[View source]
def url : String #

[View source]
def url=(url : String) #

[View source]
def withBackground : Bool #

[View source]
def withBackground=(withBackground : Bool) #

[View source]
def withBorder : Bool #

[View source]
def withBorder=(withBorder : Bool) #

[View source]