Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DanielYKPan/ng2-fan-menu
/ functions
Functions
46 in github.com/DanielYKPan/ng2-fan-menu
⨍
Functions
46
◇
Types & classes
12
↓ 3 callers
Method
radToDeg
( angle: number )
src/menu-spin.service.ts:45
↓ 3 callers
Method
setWingIconTransformStyle
* Set wing icon transform style *
src/menu-wing.component.ts:180
↓ 2 callers
Function
run_proc
(cmd, callBack, options)
gulpfile.js:150
↓ 2 callers
Method
setHostElementPosition
* Set host element's top and left position * @param positionName {string} * @returns {void} *
src/menu-container.component.ts:292
↓ 1 callers
Method
calculateSpinDegrees
( position: {x: number, y: number} )
src/menu-spin.service.ts:30
↓ 1 callers
Method
calculateSvgPath
* Calculate SVG path *
src/menu-container.component.ts:306
↓ 1 callers
Method
calculateWingIconSizeAndPosition
* Calculate wing's icon size and position *
src/menu-wing.component.ts:194
↓ 1 callers
Method
setElementsStyle
* Set elements styles * elements include the host element itself, menuBtn and menuWings *
src/menu-container.component.ts:258
↓ 1 callers
Method
setLastSpinDegrees
( position: {x: number, y: number} )
src/menu-spin.service.ts:39
↓ 1 callers
Method
setMenuOptions
( menuConfig: IMenuConfig, gutter: Object, startAngles: Object )
src/menu-options.service.ts:115
↓ 1 callers
Method
setStartPosition
( position: {x: number, y: number} )
src/menu-spin.service.ts:24
↓ 1 callers
Method
setWingTransformStyle
* Set wing transform style *
src/menu-wing.component.ts:168
↓ 1 callers
Method
spinMenu
* Spin the whole menu list * set the menuList transform style *
src/menu-container.component.ts:239
Method
Center
()
src/menu-options.service.ts:94
Method
Gutter
()
src/menu-options.service.ts:74
Method
MenuConfig
()
src/menu-options.service.ts:63
Method
MenuPositions
()
src/menu-options.service.ts:108
Method
StartAngles
()
src/menu-options.service.ts:86
Method
animationDone
* Indicate the button text animation done *
src/menu-container.component.ts:132
Method
clickWing
* Emit the wing that has been clicked *
src/menu-container.component.ts:139
Method
constructor
( private menuOptions: MenuOptions )
src/menu-spin.service.ts:21
Method
constructor
( private menuOptions: MenuOptions, private spinService: SpinService, privat
src/menu-container.component.ts:106
Method
constructor
( private menuOptions: MenuOptions, private spinService: SpinService, privat
src/menu-wing.component.ts:63
Method
constructor
()
src/menu-options.service.ts:112
Function
gulpConfig
()
gulpfile.config.js:9
Method
hoverWing
* Emit the wing that has been mouse over *
src/menu-container.component.ts:146
Method
ngAfterViewInit
()
src/menu-wing.component.ts:103
Method
ngOnChanges
( changes: SimpleChanges )
src/menu-wing.component.ts:85
Method
ngOnDestroy
()
src/menu-container.component.ts:125
Method
ngOnDestroy
()
src/menu-wing.component.ts:81
Method
ngOnInit
()
src/menu-container.component.ts:112
Method
ngOnInit
()
src/menu-wing.component.ts:70
Method
onClick
* Click on the wing *
src/menu-wing.component.ts:131
Method
onMenuMove
( event: any )
src/menu-container.component.ts:206
Method
onMouseOut
* Mouse out off the wing *
src/menu-wing.component.ts:124
Method
onMouseOutMenu
* Set menuBtn opacity when it has been mouse out *
src/menu-container.component.ts:229
Method
onMouseOver
* Mouse hover on the wing *
src/menu-wing.component.ts:116
Method
onMouseOverMenu
* Set menuBtn opacity when it has been mouse over *
src/menu-container.component.ts:220
Method
onPanEnd
* menuBtn pan move end *
src/menu-container.component.ts:174
Method
onPanEnd
* Record the pan end position *
src/menu-wing.component.ts:158
Method
onPanStart
* menuBtn pan move start *
src/menu-container.component.ts:166
Method
onPanStart
* Record the pan start position *
src/menu-wing.component.ts:138
Function
root
(args)
config/helpers.js:7
Method
spinMenu
* Spin the whole menu *
src/menu-wing.component.ts:148
Method
toggleMenu
* Toggle the menu list *
src/menu-container.component.ts:155
Method
toggleSpinningState
* Change the isSpinning flag *
src/menu-container.component.ts:246