Sha256: b65f43b125dd4c2e188d6cbcff8b1fc4e4cef7850c4cf662363d423e52edf5a0
Contents?: true
Size: 607 Bytes
Versions: 3
Compression:
Stored size: 607 Bytes
Contents
class @PanelConfig constructor: (config) -> for key,value of config || {} @[key] = value @attachTo ||= angular.element(document.body) @clickOutsideToClose ||= true @escapeToClose ||= true @focusOnOpen ||= false @zIndex ||= 2 @openFrom ||= @event @target ||= @event.target @panelClass ||= 'md-select-menu' setPosition: (target,$mdPanel) -> @position = $mdPanel.newPanelPosition().relativeTo(target).addPanelPosition($mdPanel.xPosition.ALIGN_START, $mdPanel.yPosition.BELOW) return @
Version data entries
3 entries across 3 versions & 1 rubygems