mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-08 08:39:35 +08:00
16 lines
311 B
JavaScript
16 lines
311 B
JavaScript
// This is the basic template for component editing
|
|
const { updatePropByDump } = require('../utils/prop');
|
|
|
|
exports.template = `
|
|
<div class="component-container">
|
|
</div>
|
|
`;
|
|
|
|
exports.$ = {
|
|
componentContainer: '.component-container',
|
|
};
|
|
|
|
exports.update = function(dump) {
|
|
updatePropByDump(this, dump);
|
|
};
|