1. A method, comprising: at an electronic device with a display, a touch-sensitive surface, one or more sensors to detect intensity of contacts with the touch-sensitive surface: while displaying a first user interface element on the display, detecting a first sequence of one or more inputs that includes detecting a change in intensity of an input on the touch-sensitive surface at a location that corresponds to the first user interface element, wherein the first user interface element is associated with a user-interaction behavior model for responding to the change in intensity of inputs, wherein the user-interaction behavior model is composed of a plurality of user-interaction component behaviors; in response to detecting the first sequence of one or more inputs, generating, with an application-independent software module, output at the device that is associated with the first user interface element that is determined in accordance with the change in intensity of the input and the user-interaction behavior model, including a first user-interaction component behavior and a second user-interaction component behavior that is distinct from the first user-interaction component behavior; after generating the output that is associated with the first user interface element, displaying, on the display, a second user interface element that is associated with a first subset of the user-interaction component behaviors in the user-interaction behavior model; while displaying the second user interface element on the display, detecting a second sequence of inputs that includes detecting a change in intensity of an input on the touch-sensitive surface at a location that corresponds to the second user interface element; and in response to detecting the second sequence of inputs: obtaining, from the application-independent software module, an indication of whether the change in intensity of the input has met conditions associated with the first user-interaction component behavior; and updating, based on the indication from the application-independent software module of whether the change in intensity of the input has met conditions associated with the first user-interaction component behavior, an appearance of the second user interface element on the display based on the first user-interaction component behavior.