Node plugin which can be used to align a node with another node, region, or the viewport.
Aligns the center of a node to the center of another node or region.
Removes the resize handler, if any. This is called automatically when unplugged from the host node.
Aligns node with a point on another node or region. Possible alignment points are:
regionString | | Node | | HTMLElement | | Object
The node or region to align with. Defaults to the viewport region.
The point of the region to align with.
The point of the node aligned to the region.
Whether or not the node should re-align when the window is resized. Defaults to false.