2.0.40 • Published 7 months ago

mtemplate-loader v2.0.40

Weekly downloads
7
License
MIT
Repository
github
Last release
7 months ago

Usage:

Include the template-loader.js in your html file. It will connect to window.onload and send a http request to the path in current url?data=path (defaults to mframe.json).

// to load components data use this:
window.Loader.getComponents().then(function(data) {
    console.log('Or you can use this promise to get the data');
    console.log(data);
});

// to notify player that the template is ready call this:
window.Loader.ready();

// to wait for template start (autoPlay is true or player issues play command) use this:
window.Loader.isStarted().then(function() {

});
2.0.40

7 months ago

2.0.37

12 months ago

2.0.38

12 months ago

2.0.39

12 months ago

1.0.35

1 year ago

1.0.34

4 years ago

1.0.33

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.30

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.17

6 years ago

1.0.16

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago