How to use the magix.applyStyle function in magix

To help you get started, we’ve selected a few magix examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github thx / magix-gallery / tmpl / mx-btn / __test__ / 2.js View on Github external
let Magix = require('magix');
let Base = require('__test__/example');
let $ = require('$');
Magix.applyStyle('@index.less');
module.exports = Base.extend({
    tmpl: '@2.html',
    render() {
        this.updater.digest();
    }
});
github thx / magix-gallery / tmpl / mx-grid / __test__ / 3.js View on Github external
let Magix = require('magix');
let Base = require('__test__/example');
let $ = require('$');
Magix.applyStyle('@index.less');

module.exports = Base.extend({
    tmpl: '@3.html',
    render() {
        this.updater.digest();
    }
});
github thx / magix-gallery / tmpl / mx-grid / __test__ / 8.js View on Github external
let Magix = require('magix');
let Base = require('__test__/example');
let $ = require('$');
Magix.applyStyle('@index.less');

module.exports = Base.extend({
    tmpl: '@8.html',
    render() {
        this.updater.digest({
            icon: '<i class="mc-iconfont fontsize-20 bold"></i>',
            img: '<img src="//img.alicdn.com/tfs/TB1LtU5V5LaK1RjSZFxXXamPFXa-500-100.png">'
        });
    }
});
github thx / magix-gallery / src / mx-btn / examples / 8.js View on Github external
let Magix = require('magix');
let Base = require('examples/example');
let $ = require('$');
Magix.applyStyle('@index.less');

module.exports = Base.extend({
    tmpl: '@8.html',
    render() {
        this.updater.digest();
    }
});
github thx / magix-gallery / src / mx-btn / examples / 6.js View on Github external
let Magix = require('magix');
let Base = require('examples/example');
let $ = require('$');
Magix.applyStyle('@index.less');

module.exports = Base.extend({
    tmpl: '@6.html',
    render() {
        this.updater.digest();
    }
});

magix

view manager framewrok

MIT
Latest version published 5 years ago

Package Health Score

45 / 100
Full package analysis