true if the item can be rotated (checking for prop, not space available)
(n: GridStackNode)
| 768 | |
| 769 | /** true if the item can be rotated (checking for prop, not space available) */ |
| 770 | public static canBeRotated(n: GridStackNode): boolean { |
| 771 | return !(!n || n.w === n.h || n.locked || n.noResize || n.grid?.opts.disableResize || (n.minW && n.minW === n.maxW) || (n.minH && n.minH === n.maxH)); |
| 772 | } |
| 773 | } |
no outgoing calls
no test coverage detected