FLUTTER ECOSYSTEM

jifalops/mdc_web

material-components-web 자바스크립트 라이브러리용 Dart 래퍼입니다.

mdc_web 프로젝트 이미지
Stars
18
Forks
6
최근 푸시(UTC)
2021. 6. 26.
프로젝트 상태
활성
Jacob Phillips GitHub avatar
GITHUB User

Jacob Phillips ↗

언어JavaScriptSCSSCSSDartHTML

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 4 개
  • js^0.6.1+1
  • meta^1.1.7
  • test개발 의존성^1.6.5
  • path개발 의존성^1.6.2

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

pub points

mdc_web

Dart wrapper for the material-components-web javascript library.

Usage

In your index.html, include the script just before the main.dart.js script.

<!--
  This exposes the `mdc` global variable required by this package.
  For debugging purposes you can replace the ".min.js" extension with ".js".
-->
<script defer src="packages/mdc_web/material-components-web.min.js"></script>
<script defer src="main.dart.js"></script>

Now in your dart application you can use all of the MDC* classes as described by the Material Design Web component reference.

Documentation

Each class and notable members are documented. Class documentation includes links to corresponding (if available):

Limitations

Only the components themselves were mirrored. Their foundation and adapter classes are currently beyond the scope of this package as they are for deep customization within other web frameworks. However, the base MDCFoundation and MDCComponent classes are included. This limitation should not affect most implementations, but if it does affect you, please let me know.