class AmberCLI::Native::CapabilityManifest::WidgetSpec

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(title : String = "", identifier : String = "", summary : String | Nil = nil, placements : Array(WidgetPlacementSpec) = [] of WidgetPlacementSpec, is_enabled : Bool = true) #

[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 identifier : String #

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

[View source]
def is_enabled : Bool #

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

[View source]
def placements : Array(WidgetPlacementSpec) #

[View source]
def placements=(placements : Array(WidgetPlacementSpec)) #

[View source]
def resolved_identifier : String #

[View source]
def summary : String | Nil #

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

[View source]
def title : String #

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

[View source]
def validate! : self #

[View source]