2.0.40 • Published 2 years ago

mtemplate-loader v2.0.40

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years 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

2 years ago

2.0.37

2 years ago

2.0.38

2 years ago

2.0.39

2 years ago

1.0.35

2 years ago

1.0.34

5 years ago

1.0.33

5 years ago

1.0.32

5 years ago

1.0.31

5 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.17

7 years ago

1.0.16

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago