Skip to content

element.splitPane is not a function #15

@ri0t

Description

@ri0t

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions