API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
InitialiseMoreUpDownProps() InitialiseMoreLeftRightProps() ApplyScrollProps() Model Events ModelEvent
This module provides utility functions to help an extension writer add support for the moreup, moredown, moreleft, and moreright properties.
To provide support for the moreup, moredown, moreleft, and moreright properties in an element:
First the extension writer must set up the required properties. Extension writers can do this themselves, or can call the InitialiseMoreUpDownProps() and InitialiseMoreLeftRightProps() helper functions.
Next, extension writers are then responsible for adding a listener to the viewmodel model of the element's attached widget, and then calling ApplyScrollProps() with any ModelEvents that are returned from the model.
The words "property" and "attribute" are used interchangeably in these topics.