편집 요약 없음 |
편집 요약 없음 |
||
(사용자 2명의 중간 판 17개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
== OO.ui == | |||
=== demo === | |||
https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop | |||
=== 사용법 === | |||
<syntaxhighlight lang="js"> | |||
mw.loader.using(['oojs-ui-core', 'oojs-ui.styles.icons-editing-advanced'], '''function'''); | |||
function () { ........ | |||
</syntaxhighlight> | |||
아이콘을 사용하기 위한 모듈<br/> | |||
oojs-ui.styles.icons-editing-advanced<br/> | |||
* | oojs-ui.styles.icons-movement<br/> | ||
* | oojs-ui.styles.icons-content<br/> | ||
* | ... | ||
* | |||
* | 아이콘 그룹은 아래 데모에서 확인<br/> | ||
* | https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop | ||
Depending on which of the features you're going to use, you should list one or more of the following modules as dependencies of your modules that use OOUI: | |||
* <code>oojs-ui-core</code> — OOUI's core JavaScript library. Contains the basic widgets and layouts that are also available in PHP (see exact list above) and the ability to infuse them. | |||
* <code>oojs-ui-widgets</code> — Additional widgets and layouts. | |||
* <code>oojs-ui-toolbars</code> — Toolbar and tools. | |||
* <code>oojs-ui-windows</code> — Windows and dialogs. | |||
* <code>oojs-ui.styles.icons-*</code> — Specific icon styles depending on what icons you may want to use, e.g. <code>oojs-ui.styles.icons-interactions</code> for check icon. Group names can be found in demo page or in code. |
2023년 12월 30일 (토) 22:25 기준 최신판
OO.ui[편집 | 원본 편집]
demo[편집 | 원본 편집]
사용법[편집 | 원본 편집]
mw.loader.using(['oojs-ui-core', 'oojs-ui.styles.icons-editing-advanced'], '''function''');
function () { ........
아이콘을 사용하기 위한 모듈
oojs-ui.styles.icons-editing-advanced
oojs-ui.styles.icons-movement
oojs-ui.styles.icons-content
...
아이콘 그룹은 아래 데모에서 확인
https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop
Depending on which of the features you're going to use, you should list one or more of the following modules as dependencies of your modules that use OOUI:
oojs-ui-core
— OOUI's core JavaScript library. Contains the basic widgets and layouts that are also available in PHP (see exact list above) and the ability to infuse them.oojs-ui-widgets
— Additional widgets and layouts.oojs-ui-toolbars
— Toolbar and tools.oojs-ui-windows
— Windows and dialogs.oojs-ui.styles.icons-*
— Specific icon styles depending on what icons you may want to use, e.g.oojs-ui.styles.icons-interactions
for check icon. Group names can be found in demo page or in code.