angular-split-pane
angular-split-pane copied to clipboard
element.splitPane is not a function
The split components' CSS is correctly set up and when it tries to setup the splitting, it fails. I assume this is problem is related to me using webpack. The error is:
TypeError: element.splitPane is not a function
at Object.link (angular-split-pane.js:76)
at eval (angular.js:1346)
...
Upon App-Init, i do:
import '@shagstrom/split-pane/split-pane.css';
import 'jquery';
import angular from 'angular';
import '@shagstrom/angular-split-pane/angular-split-pane';
While attempting to solve this issue, I discovered that it was necessary to include @shagstrom's split pane library split-pane.js