Created
February 7, 2017 02:19
-
-
Save Zizzamia/c2dcdae4c17d694e62ac467a267e4a15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export class tasksList { | |
| constructor(ElementRef: ElementRef) { | |
| this.element = ElementRef.nativeElement; | |
| } | |
| // ... | |
| ngOnDestroy() { | |
| if (this.elLists) { | |
| Array.prototype.forEach.call(this.elLists, (elList) => { | |
| $(elList).sortable('destroy'); | |
| }); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment