AtlasKit common utilities
A set of common utilities for all AtlasKit components
Members
- computeBooleanValue
Helper functions useful for implementing reflected boolean and enumerated
attributes and properties.
- KeyPressHandler
A general class to deal with key activations
Functions
- computeBooleanValue()
Like el.hasAttribute(attr) but designed for use within a skate attribute
change handler where you only have access to change.oldValue.
- enumeration()
This property extension can be used with skate.
Usage:
props: {
respondsTo: props.enum({values: ['toggle', 'hover'],
missingDefault: 'toggle',
invalidDefault: 'toggle'})({
})
}
computeBooleanValue
Helper functions useful for implementing reflected boolean and enumerated
attributes and properties.
Kind: global variable
See
KeyPressHandler
A general class to deal with key activations
Kind: global variable
computeBooleanValue()
Like el.hasAttribute(attr) but designed for use within a skate attribute
change handler where you only have access to change.oldValue.
Kind: global function
enumeration()
This property extension can be used with skate.
Usage:
props: {
respondsTo: props.enum({values: ['toggle', 'hover'],
missingDefault: 'toggle',
invalidDefault: 'toggle'})({
})
}
Kind: global function
Support and feedback
We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Ask a question in our forum.
Check if someone has already asked the same question before.
Create a support ticket
Are you in trouble? Let us know!