class AmberCLI::Native::CapabilityManifest::WidgetPlacementSpec

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(surface : String = "", families : Array(String) = [] of String, timeline_intent : String = "snapshot", refresh_policy : String | Nil = nil, notes : String | Nil = nil) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def families : Array(String) #

[View source]
def families=(families : Array(String)) #

[View source]
def notes : String | Nil #

[View source]
def notes=(notes : String | Nil) #

[View source]
def refresh_policy : String | Nil #

[View source]
def refresh_policy=(refresh_policy : String | Nil) #

[View source]
def surface : String #

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

[View source]
def timeline_intent : String #

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

[View source]
def validate! : self #

[View source]