Class: Jav::Resources::Controls::LinkTo
Instance Method Summary
collapse
Methods inherited from BaseControl
#action?, #actions_list?, #back_button?, #color, #delete_button?, #detach_button?, #edit_button?, #icon, #initialize, #label, #link_to?, #style, #title
Instance Method Details
#class ⇒ Object
17
18
19
|
# File 'lib/jav/resources/controls/link_to.rb', line 17
def class
@args[:class] || nil
end
|
#data ⇒ Object
13
14
15
|
# File 'lib/jav/resources/controls/link_to.rb', line 13
def data
@args[:data] || {}
end
|
#path ⇒ Object
5
6
7
|
# File 'lib/jav/resources/controls/link_to.rb', line 5
def path
@args[:path]
end
|
#target ⇒ Object
9
10
11
|
# File 'lib/jav/resources/controls/link_to.rb', line 9
def target
@args[:target] || nil
end
|