style Function

Applies inline styles to the node. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

objObject[required] Object containing style properties and values.

Example

handler.style({ backgroundColor: 'blue' });