drupal/general_example
Composer 安装命令:
composer require drupal/general_example
包简介
Testing for Packagist Integration
README 文档
README
This project is for testing!
Documentation and examples
Example (Use as a module)
<script type="module">
import once from 'https://unpkg.com/@drupal/once@latest/dist/once.esm.js';
const elements = once('my-once-id', 'div');
// Initialize elements.
elements.forEach(el => el.innerHTML = 'processed');
</script>
Example (Use as a regular script)
<script src="https://unpkg.com/@drupal/once@latest/dist/once.min.js"></script>
<script>
const elements = once('my-once-id', 'div');
// Initialize elements.
elements.forEach(el => el.innerHTML = 'processed');
</script>
Full API documentation and examples in the API docs.
Contributors
These amazing people have contributed code to this project:
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-04-14