enum const class domkit::Dir

sys::Obj
  sys::Enum
    domkit::Dir

@Js
@Serializable { simple=true }

Source

Direction enums: up, down, left, right

down

const static Dir down := ...

Source

fromStr

static new fromStr(Str name, Bool checked := true)

Source

Return the Dir instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

left

const static Dir left := ...

Source

const static Dir right := ...

Source

up

const static Dir up := ...

Source

vals

const static List<Dir> vals := Dir[Dir.up,Dir.down,Dir.left,Dir.right]

Source

List of Dir values indexed by ordinal