在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):redpelicans/aurelia-material开源软件地址(OpenSource Url):https://github.com/redpelicans/aurelia-material开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):aurelia-materialAurelia wrapper for Material Design Lite. Material Design Lite has been designed for static html sites. To use it on dynamic ones, we have to register explictly new DOM elements (see MDL)
See online Demo PrinciplesWe created the So instead of writing:
You will write in your views:
And that's all...
Some MDL elements are not in the list because we don't have to register them, so we can use them as it. Install
<body aurelia-app="main">
...
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
// Install the plugin
.plugin('redpelicans/aurelia-material');
aurelia.start().then(a => a.setRoot());
}
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.indigo-pink.min.css">
See online Demo |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论