struct UI::ActivityDestination

Overview

Struct representing a share destination in the horizontal destination row. HIG: "Activity views present sharing activities like messaging and actions like Copy and Print, in addition to quick access to frequently used apps." Each destination is a circular icon (~60pt) with a label below it.

Defined in:

ui/views/activity_view.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(icon_symbol : String, label : String, on_select : Proc(Nil) | Nil = nil) #

[View source]

Instance Method Detail

def icon_symbol : String #

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

[View source]
def label : String #

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

[View source]
def on_select : Proc(Nil) | Nil #

[View source]
def on_select=(on_select : Proc(Nil) | Nil) #

[View source]