angular-split-pane icon indicating copy to clipboard operation
angular-split-pane copied to clipboard

element.splitPane is not a function

Open ri0t opened this issue 8 years ago • 1 comments

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';

ri0t avatar Oct 30 '17 14:10 ri0t

While attempting to solve this issue, I discovered that it was necessary to include @shagstrom's split pane library split-pane.js

jtmorrisbytes avatar Nov 13 '18 21:11 jtmorrisbytes