페이지 트리
메타 데이터의 끝으로 건너뛰기
메타 데이터의 시작으로 이동
The Atlassian User Interface (AUI) is a set of reusable, cross-browser tested, high-quality JavaScript and CSS UI components. We developed AUI for use in Atlassian applications such as JIRA, Confluence and others. As a plugin developer, you will find AUI useful to provide standard, sophisticated UI components that plugin into the host application's user interface. Refer to the version matrix to see which AUI version is included in each host application.
어떤 버전의 AUI를 사용해야 하는가요?

A version of AUI is bundled in the host application that you are building your plugin for. Please refer to the version matrix to see which version of AUI your application has. Or enter a JavaScript console in a browser page running the application (such as Firebug's console) and enter:

AJS.version
어떤 컴포넌트를 사용할 수 있나요?

All the AUI components are included into every page of each application. Please refer to the component documentation for information about each component available.

어떻게 AUI 컴포넌트를 사용하는가?

Here's an example of how to call an AUI component. This example comes from the Atlassian Dashboards plugin. Note that specific, detailed, examples are listed on the relevant component page.

HTML:

<ul>
<li class="aui-dd-parent">
<a class="aui-dd-trigger" href="#">Gadget menu</a>
<ul class="aui-dropdown">
<li>Batman has gadgets on his utility belt</li>
<li>What's a Batman?</li>
</ul>
</li>
</ul>

JavaScript:

AJS.dropDown.Standard({
trigger: ".gadget .aui-dd-trigger",
dropDown: ".gadget .aui-dropdown",
selectionHandler: function() {
this.hide();
},
align: "right"
});
관련주제

Atlassian User Interface (AUI) Developer Documentation

  • 레이블 없음