CapabilityCheck

works.iterative.ui.model.CapabilityCheck

A trait for checking if a capability is supported.

The idea is that the components will announce the possible capabilities used in the UI. The model will fill the capabilities with the actual capabilities of the user and the UI will check for a capability before rendering.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Capabilities

Members list

Value members

Abstract methods

def hasCapability[T <: Capability](c: T): Boolean