Resizable

Make a element resizable.

parents: Base

defined in: resizable.js

Class

Attributes

  • handlers {String[]} Enumeration of directions can current node resize to.
  • maxHeight {Number} Maximum height can current node resize to.
  • maxWidth {Number} Maximum width can current node resize to.
  • minHeight {Number} Minimum height can current node resize to.
  • minWidth {Number} Minimum width can current node resize to.
  • node {Node} KISSY Node to be resizable.

Methods

  • destroy () make current resizable 's node not resizable.

Class Detail

  • Resizable ()
    Make a element resizable.

Attributes Detail

  • handlers {String[]} Enumeration of directions can current node resize to. Directions: "t": top. "tr": top-right. "r": right. "b": bottom. "l": left. "tl": top-left. "bl": bottom-left. "br": bottom-right.
  • maxHeight {Number} Maximum height can current node resize to.
  • maxWidth {Number} Maximum width can current node resize to.
  • minHeight {Number} Minimum height can current node resize to.
  • minWidth {Number} Minimum width can current node resize to.
  • node {Node} KISSY Node to be resizable.

Methods Detail

  • destroy () view source
    make current resizable 's node not resizable.
blog comments powered by Disqus
Top