Composer component displays the composer. It can be loaded with a
content component with
load and then its position/state can be altered with
Whether or not the composer currently has focus.
The attributes passed into the component.
The root DOM element for the component.
The composer's "state".
Returns a jQuery object for this component's element. If you pass in a selector string, this method will return a jQuery object, using the current element as its buffer.
For example, calling
component.$('li') will return a jQuery object
containing all of the
li elements inside the DOM element of this
the jQuery object for the DOM node
Animate the Composer into the new position by changing the height.
Trigger the right animation depending on the desired new position.
Save a new Composer height and update the DOM.
Add the necessary event handlers to the composer's handle so that it can be used to resize the composer.
Build an item list for the composer's controls.
Default height of the Composer in case none is saved.
Draw focus to the first focusable content element (the text editor).
Animate closing the composer.
Hide the Composer backdrop.
Initialize default Composer height.
Shrink the composer until only its title is visible.
Resize the composer according to mouse movement.
Finish resizing the composer when the mouse is released.
Animate the composer sliding up from the bottom to take its normal height.
Show the Composer backdrop.
Update the amount of padding-bottom on the body so that the page's content will still be visible above the composer when the page is scrolled right to the bottom.
Update the DOM to reflect the composer's current height. This involves setting the height of the composer's root element, and adjusting the height of any flexible elements inside the composer's body.
Initialize the component's attrs.
This can be used to assign default values for missing, optional attrs.
Generated using TypeDoc version 0.22.10