You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

768 lines
24 KiB

  1. ---
  2. layout : 'default'
  3. css : 'dropdown'
  4. title : 'Dropdown'
  5. description : 'A dropdown is a hidden list of selections that a user can choose to have appear'
  6. type : 'UI Module'
  7. ---
  8. <script src="/javascript/dropdown.js"></script>
  9. <%- @partial('header', { tabs: 'module' }) %>
  10. <div class="main container">
  11. <div class="ui active tab" data-tab="definition">
  12. <div class="peek">
  13. <div class="ui vertical pointing secondary menu">
  14. <a class="active item">Types</a>
  15. <a class="item">Variations</a>
  16. <a class="item">States</a>
  17. </div>
  18. </div>
  19. <h2 class="ui dividing header">Types</h2>
  20. <div class="dropdown example">
  21. <h4 class="ui header">Dropdown</h4>
  22. <p>A basic dropdown has no special formatting of its own</p>
  23. <div class="ui dropdown">
  24. <div class="text">Select</div>
  25. <i class="dropdown icon"></i>
  26. <div class="menu">
  27. <div class="item">Edit</div>
  28. <div class="item">Remove</div>
  29. <div class="item">Hide</div>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="dropdown example">
  34. <h4 class="ui header">Inline</h4>
  35. <p>A dropdown can be formatted to appear inline in other content</p>
  36. <div>Show me posts trending
  37. <div class="ui inline dropdown">
  38. <div class="text">today</div>
  39. <i class="dropdown icon"></i>
  40. <div class="menu">
  41. <div class="item" data-text="today">Today</div>
  42. <div class="item" data-text="this week">This Week</div>
  43. <div class="item" data-text="this month">This Month</div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <div class="dropdown example">
  49. <h4 class="ui header">Selection</h4>
  50. <p>A dropdown can be formatted to allow selection of a menu choice.</p>
  51. <div class="ui selection dropdown">
  52. <input type="hidden" name="gender">
  53. <div class="default text">Gender</div>
  54. <i class="dropdown icon"></i>
  55. <div class="menu">
  56. <div class="item" data-value="1">Male</div>
  57. <div class="item" data-value="0">Female</div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="button example">
  62. <h4 class="ui header">Floating</h4>
  63. <p>A dropdown menu can appear to be floating below an element.</p>
  64. <div class="ui teal buttons">
  65. <div class="ui button">Save</div>
  66. <div class="ui floating dropdown icon button">
  67. <i class="dropdown icon"></i>
  68. <div class="menu">
  69. <div class="item"><i class="edit icon"></i>Edit Post</div>
  70. <div class="item"><i class="delete icon"></i>Remove Post</div>
  71. <div class="item"><i class="hide icon"></i>Hide Post</div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="hover example">
  77. <h4 class="ui header">Pointing</h4>
  78. <p>A dropdown can be formatted so that its menu is pointing</p>
  79. <div class="ui compact menu">
  80. <div class="menu">
  81. <a class="active item">
  82. <i class="home icon"></i> Home
  83. </a>
  84. <div class="ui pointing dropdown link item">
  85. <i class="icon mail"></i> Messages <i class="dropdown icon"></i>
  86. <div class="menu">
  87. <a class="item"><i class="mail icon"></i>Inbox</a>
  88. <a class="item"><i class="book icon"></i>Archive</a>
  89. </div>
  90. </div>
  91. <a class="item">
  92. <i class="user icon"></i> Browse
  93. </a>
  94. <a class="item">
  95. <i class="question icon"></i> Help
  96. </a>
  97. </div>
  98. </div>
  99. </div>
  100. <div class="another button example">
  101. <div class="ui blue labeled icon top left pointing dropdown button">
  102. <i class="settings icon"></i>
  103. <span class="text">Settings</span>
  104. <div class="menu">
  105. <div class="item"><i class="edit icon"></i>Edit</div>
  106. <div class="item"><i class="delete icon"></i>Remove</div>
  107. <div class="item"><i class="hide icon"></i>Hide</div>
  108. </div>
  109. </div>
  110. <div class="ui red labeled icon top right pointing dropdown button">
  111. <i class="settings icon"></i>
  112. <span class="text">Settings</span>
  113. <div class="menu">
  114. <div class="item"><i class="edit icon"></i>Edit</div>
  115. <div class="item"><i class="delete icon"></i>Remove</div>
  116. <div class="item"><i class="hide icon"></i>Hide</div>
  117. </div>
  118. </div>
  119. </div>
  120. <div class="another button example">
  121. <div class="ui right pointing dropdown icon button">
  122. <i class="settings icon"></i>
  123. <div class="menu">
  124. <div class="item"><i class="edit icon"></i>Edit</div>
  125. <div class="item"><i class="delete icon"></i>Remove</div>
  126. <div class="item"><i class="hide icon"></i>Hide</div>
  127. </div>
  128. </div>
  129. <div class="ui left pointing dropdown icon button">
  130. <i class="settings icon"></i>
  131. <div class="menu">
  132. <div class="item"><i class="edit icon"></i>Edit</div>
  133. <div class="item"><i class="delete icon"></i>Remove</div>
  134. <div class="item"><i class="hide icon"></i>Hide</div>
  135. </div>
  136. </div>
  137. </div>
  138. <div class="example">
  139. <h4 class="ui header">Simple</h4>
  140. <p>A simple dropdown can open without javascript</p>
  141. <div class="ui compact menu">
  142. <div class="ui simple dropdown item">
  143. Dropdown <i class="dropdown icon"></i>
  144. <div class="menu">
  145. <div class="item">Choice 1</div>
  146. <div class="item">Choice 2</div>
  147. <div class="item">Choice 3</div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <h2 class="ui dividing header">Variations</h2>
  153. <div class="dropdown example">
  154. <h4 class="ui header">Fluid</h4>
  155. <p>A dropdown can take the full width of its parent</p>
  156. <div class="ui vertical menu">
  157. <a class="item">Link 1</a>
  158. <a class="item">Link 2</a>
  159. <div class="header item">All Sections</div>
  160. <div class="ui item">
  161. <div class="ui fluid selection dropdown">
  162. <div class="text">More</div>
  163. <i class="dropdown icon"></i>
  164. <div class="menu">
  165. <div class="item">Choice 1</div>
  166. <div class="item">Choice 2</div>
  167. <div class="item">Choice 3</div>
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. <h2 class="ui dividing header">States</h2>
  174. <div class="example">
  175. <h4 class="ui header">Active</h4>
  176. <p>An active dropdown menu has its menu open</p>
  177. <div class="ui compact menu">
  178. <div class="ui simple active dropdown item">
  179. Dropdown <i class="dropdown icon"></i>
  180. <div class="menu">
  181. <div class="item">Choice 1</div>
  182. <div class="item">Choice 2</div>
  183. </div>
  184. </div>
  185. </div>
  186. </div>
  187. <div class="example">
  188. <h4 class="ui header">Disabled</h4>
  189. <p>A disabled dropdown menu will not open or close</p>
  190. <div class="ui menu">
  191. <div class="ui simple disabled dropdown item">
  192. Dropdown <i class="dropdown icon"></i>
  193. <div class="menu">
  194. <div class="item">Choice 1</div>
  195. <div class="item">Choice 2</div>
  196. <div class="item">Choice 3</div>
  197. </div>
  198. </div>
  199. </div>
  200. </div>
  201. </div>
  202. <div class="ui tab" data-tab="usage">
  203. <h2 class="ui dividing header">Initializing</h2>
  204. <h3 class="ui header">Initializing a dropdown</h3>
  205. <div class="code" data-label="HTML" data-type="html">
  206. <div class="ui dropdown">
  207. <div class="text">Select</div>
  208. <i class="dropdown icon"></i>
  209. <div class="menu">
  210. <div class="item" data-value="option1">Option 1</div>
  211. <div class="item" data-value="option2">Option 2</div>
  212. </div>
  213. </div>
  214. </div>
  215. <div class="code" data-label="Javascript" data-type="javascript">
  216. $('.ui.dropdown')
  217. .dropdown()
  218. ;
  219. </div>
  220. <h2 class="ui dividing header">Behavior</h2>
  221. <p>All the following <a href="/module.html#/behavior">behaviors</a> can be called using the syntax:</p>
  222. <div class="code">
  223. $('.your.element')
  224. .dropdown('behavior name', argumentOne, argumentTwo)
  225. ;
  226. </div>
  227. <table class="ui definition sortable celled table segment">
  228. <thead>
  229. <tr>
  230. <th>Behavior</th>
  231. <th>Description</th>
  232. </tr>
  233. </thead>
  234. <tbody>
  235. <tr>
  236. <td>toggle</td>
  237. <td>Toggles current visibility of dropdown</td>
  238. </tr>
  239. <tr>
  240. <td>show</td>
  241. <td>Shows dropdown</td>
  242. </tr>
  243. <tr>
  244. <td>hide</td>
  245. <td>Hides dropdown</td>
  246. </tr>
  247. <tr>
  248. <td>hide others</td>
  249. <td>Hides all other dropdowns that is not current dropdown</td>
  250. </tr>
  251. <tr>
  252. <td>restore defaults</td>
  253. <td>Restores dropdown text and value to its value on page load</td>
  254. </tr>
  255. <tr>
  256. <td>restore default text</td>
  257. <td>Restores dropdown text to its value on page load</td>
  258. </tr>
  259. <tr>
  260. <td>restore default value</td>
  261. <td>Restores dropdown value to its value on page load</td>
  262. </tr>
  263. <tr>
  264. <td>save defaults</td>
  265. <td>Saves current text and value as new defaults (for use with restore)</td>
  266. </tr>
  267. <tr>
  268. <td>set selected(value)</td>
  269. <td>Sets selected state to a given value</td>
  270. </tr>
  271. <tr>
  272. <td>set text(text)</td>
  273. <td>Sets dropdown text to a value</td>
  274. </tr>
  275. <tr>
  276. <td>set value(value)</td>
  277. <td>Sets dropdown input to value</td>
  278. </tr>
  279. <tr>
  280. <td>get text</td>
  281. <td>Returns current dropdown text</td>
  282. </tr>
  283. <tr>
  284. <td>get value</td>
  285. <td>Returns current dropdown input value</td>
  286. </tr>
  287. <tr>
  288. <td>get item(value)</td>
  289. <td>Returns DOM element that matches a given input value</td>
  290. </tr>
  291. <tr>
  292. <td>bind touch events</td>
  293. <td>Adds touch events to element</td>
  294. </tr>
  295. <tr>
  296. <td>mouse events</td>
  297. <td>Adds mouse events to element</td>
  298. </tr>
  299. <tr>
  300. <td>bind intent</td>
  301. <td>Binds a click to document to determine if you click away from a dropdown</td>
  302. </tr>
  303. <tr>
  304. <td>unbind intent</td>
  305. <td>Unbinds document intent click</td>
  306. </tr>
  307. <tr>
  308. <td>determine intent</td>
  309. <td>Returns whether event occurred inside dropdown</td>
  310. </tr>
  311. <tr>
  312. <td>determine select action(text, value)</td>
  313. <td>Triggers preset item selection action based on settings passing text/value</td>
  314. </tr>
  315. <tr>
  316. <td>set active</td>
  317. <td>Sets dropdown to active state
  318. <tr>
  319. <td>set visible</td>
  320. <td>Sets dropdown to visible state</td>
  321. </tr>
  322. <tr>
  323. <td>remove active</td>
  324. <td>rRemoves dropdown active state
  325. <tr>
  326. <td>remove visible</td>
  327. <td>Removes dropdown visible state</td>
  328. </tr>
  329. <tr>
  330. <td>is selection</td>
  331. <td>Returns whether dropdown is a selection dropdown</td>
  332. </tr>
  333. <tr>
  334. <td>is animated</td>
  335. <td>Returns whether dropdown is animated</td>
  336. </tr>
  337. <tr>
  338. <td>is visible</td>
  339. <td>Returns whether dropdown is visible</td>
  340. </tr>
  341. <tr>
  342. <td>is hidden</td>
  343. <td>Returns whether dropdown is hidden</td>
  344. </tr>
  345. </tbody>
  346. </table>
  347. </div>
  348. <div class="ui tab" data-tab="examples">
  349. <h2 class="ui dividing header">Examples</h2>
  350. <div class="dropdown example">
  351. <h3 class="ui header">Re-selecting values</h3>
  352. <p>A dropdown will automatically select on page load any menu item that includes the currently value of <code>text</code> or your dropdown's hidden input value. This is used to preserve a user's selection on page navigation and will automatically remove and default text placeholder formatting.</p>
  353. Current action: <div class="ui inline dropdown">
  354. <div class="text">Hide</div>
  355. <i class="dropdown icon"></i>
  356. <div class="menu">
  357. <div class="item">Edit</div>
  358. <div class="item">Remove</div>
  359. <div class="item">Hide</div>
  360. </div>
  361. </div>
  362. </div>
  363. <div class="dropdown example">
  364. <h3 class="ui header">Button Group</h3>
  365. <p>A <a href="/elements/button.html">button group</a> can be formatted to show additional content as a dropdown</p>
  366. <div class="ui icon buttons">
  367. <div class="ui top left pointing dropdown button">
  368. <i class="user icon"></i>
  369. <div class="menu">
  370. <div class="item"><i class="edit icon"></i>Edit User</div>
  371. <div class="item"><i class="delete icon"></i>Remove User</div>
  372. <div class="item"><i class="hide icon"></i>Make Invisible</div>
  373. </div>
  374. </div>
  375. <div class="ui top left pointing dropdown button">
  376. <i class="users icon"></i>
  377. <div class="menu">
  378. <div class="item"><i class="edit icon"></i>Edit Group</div>
  379. <div class="item"><i class="delete icon"></i>Remove Group</div>
  380. <div class="item"><i class="hide icon"></i>Hide from Group</div>
  381. </div>
  382. </div>
  383. <div class="ui top right pointing dropdown button">
  384. <i class="settings icon"></i>
  385. <div class="menu">
  386. <div class="item"><i class="edit icon"></i>Edit</div>
  387. <div class="item"><i class="delete icon"></i>Remove</div>
  388. <div class="item"><i class="hide icon"></i>Hide</div>
  389. </div>
  390. </div>
  391. </div>
  392. </div>
  393. <div class="button example">
  394. <h3 class="ui header">Combo Button</h3>
  395. <p>A <a href="/elements/button.html">button</a> can be formatted with a dropdown</p>
  396. <div class="ui teal buttons">
  397. <div class="ui button">Update Post</div>
  398. <div class="ui dropdown icon button">
  399. <i class="dropdown icon"></i>
  400. <div class="menu">
  401. <div class="item"><i class="edit icon"></i>Edit Post</div>
  402. <div class="item"><i class="delete icon"></i>Remove Post</div>
  403. <div class="item"><i class="hide icon"></i>Hide Post</div>
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. <div class="dropdown example">
  409. <h3 class="ui header">Multiple Levels</h3>
  410. <p>A dropdown menu can also contain sub menus inside of it</p>
  411. My favorite animal breed is <div class="ui inline dropdown">
  412. <input type="hidden" name="gender">
  413. <div class="text">Shiba Inu</div>
  414. <i class="dropdown icon"></i>
  415. <div class="menu">
  416. <div class="item">
  417. <i class="dropdown icon"></i>
  418. Dogs
  419. <div class="menu">
  420. <div class="item">Shiba Inu</div>
  421. <div class="item">Poodle</div>
  422. <div class="item">Labrador</div>
  423. </div>
  424. </div>
  425. <div class="item">
  426. <i class="dropdown icon"></i>
  427. Cats
  428. <div class="menu">
  429. <div class="item">Aegean</div>
  430. <div class="item">Balinese</div>
  431. <div class="item">Persian</div>
  432. </div>
  433. </div>
  434. </div>
  435. </div>
  436. </div>
  437. <div class="hover example">
  438. <h3 class="ui header">Menu</h3>
  439. <p>A <a href="/collections/menu.html">menu</a> element can contain a dropdown</p>
  440. <div class="ui compact tiered purple inverted menu">
  441. <div class="menu">
  442. <a class="active item">
  443. <i class="icon home"></i> Home
  444. </a>
  445. <a class="ui dropdown item">
  446. <i class="icon mail"></i> Messages <i class="dropdown icon"></i>
  447. <div class="menu">
  448. <div class="item">
  449. <i class="mail icon"></i>Categories
  450. <div class="menu">
  451. <div class="item">Unread</div>
  452. <div class="item">Promotions</div>
  453. <div class="item">Updates</div>
  454. </div>
  455. </div>
  456. <div class="item"><i class="book icon"></i>Archive</div>
  457. </div>
  458. </a>
  459. <a class="item">
  460. <i class="user icon"></i> Browse
  461. </a>
  462. </div>
  463. <div class="sub menu">
  464. <a class="item">Activity Feed</a>
  465. <a class="item">Profile</a>
  466. <a class="item">Events</a>
  467. </div>
  468. </div>
  469. </div>
  470. <div class="dropdown example">
  471. <h3 class="ui header">Form</h3>
  472. <p>A dropdown can be formatted to allow selection inside a <a href="/collections/form.html">form</a></p>
  473. <div class="ui form segment">
  474. <p>Let's go ahead and get you signed up.</p>
  475. <div class="two fields">
  476. <div class="field">
  477. <label>First Name</label>
  478. <input placeholder="First Name" type="text">
  479. </div>
  480. <div class="field">
  481. <label>Last Name</label>
  482. <input placeholder="Last Name" type="text">
  483. </div>
  484. </div>
  485. <div class="field">
  486. <label>Gender</label>
  487. <div class="ui dropdown selection">
  488. <input type="hidden" name="gender">
  489. <div class="default text">...</div>
  490. <i class="dropdown icon"></i>
  491. <div class="menu">
  492. <div class="item" data-value="male">Male</div>
  493. <div class="item" data-value="female">Female</div>
  494. </div>
  495. </div>
  496. </div>
  497. </div>
  498. </div>
  499. <div class="transition example">
  500. <h3 class="ui header">Transitions</h3>
  501. <p>A dropdown can have different <a href="/modules/transition.html">transitions</a>.</p>
  502. <div class="ui teal buttons">
  503. <div class="ui button">Toggle</div>
  504. <div class="ui floating dropdown icon button">
  505. <i class="dropdown icon"></i>
  506. <div class="menu">
  507. <div class="item" data-value="horizontal flip">Horizontal Flip</div>
  508. <div class="item" data-value="fade up">Fade Up</div>
  509. <div class="item" data-value="scale">Scale</div>
  510. </div>
  511. </div>
  512. </div>
  513. </div>
  514. </div>
  515. <div class="ui tab" data-tab="settings">
  516. <h3 class="ui header">
  517. Dropdown Settings
  518. <div class="sub header">Dropdown settings modify the dropdown's behavior</div>
  519. </h3>
  520. <table class="ui celled sortable definition table segment">
  521. <thead>
  522. <tr>
  523. <th>Setting</th>
  524. <th class="four wide">Default</th>
  525. <th>Description</th>
  526. </tr>
  527. </thead>
  528. <tbody>
  529. <tr>
  530. <td>on</td>
  531. <td>click</td>
  532. <td>Event used to trigger dropdown (Hover, Click)</td>
  533. </tr>
  534. <tr>
  535. <td>delay</td>
  536. <td>
  537. <div class="code">
  538. delay: {
  539. show: 50,
  540. hide: 300
  541. }
  542. </div>
  543. </td>
  544. <td>Time in milliseconds to debounce show or hide behavior when <code>on: hover</code> is used.</td>
  545. </tr>
  546. <tr>
  547. <td>transition</td>
  548. <td>
  549. slide down
  550. </td>
  551. <td>Named transition to use when animating menu in and out. Fade and slide down are available without including <a href="/modules/transition.html">ui transitions</a></td>
  552. </tr>
  553. <tr>
  554. <td>duration</td>
  555. <td>
  556. 250
  557. </td>
  558. <td>Duration of animation events</td>
  559. </tr>
  560. <tr>
  561. <td>action</td>
  562. <td>auto</td>
  563. <td>Sets a default action to occur.
  564. <div class="ui vertical divided list">
  565. <div class="item">
  566. <div class="header">activate</div>
  567. <div class="description">Most likely action will be determined by type of dropdown, for example a selection dropdown will automatically use updateForm</div>
  568. </div>
  569. <div class="item">
  570. <div class="header">nothing</div>
  571. <div class="description">no action occurs</div>
  572. </div>
  573. <div class="item">
  574. <div class="header">hide</div>
  575. <div class="description">Dropdown menu is hidden</div>
  576. </div>
  577. <div class="item">
  578. <div class="header">function(){}</div>
  579. <div class="description">custom function is executed</div>
  580. </div>
  581. </div>
  582. </tr>
  583. </tbody>
  584. </table>
  585. <div class="ui horizontal section divider"><i class="icon setting"></i></div>
  586. <h3 class="ui header">
  587. Callbacks
  588. <div class="sub header">Callbacks specify a function to occur after a specific behavior.</div>
  589. </h3>
  590. <table class="ui celled sortable definition table segment">
  591. <thead>
  592. <tr>
  593. <th class="four wide">Setting</th>
  594. <th>Context</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td>onChange(value, text)</td>
  601. <td>Dropdown</td>
  602. <td>Is called after a dropdown item is selected. receives the name and value of selection.</td>
  603. </tr>
  604. <tr>
  605. <td>onShow</td>
  606. <td>Dropdown</td>
  607. <td>Is called after a dropdown is shown.</td>
  608. </tr>
  609. <tr>
  610. <td>onHide</td>
  611. <td>Dropdown</td>
  612. <td>Is called after a dropdown is hidden.</td>
  613. </tr>
  614. </tbody>
  615. </table>
  616. <h3 class="ui header">
  617. DOM Settings
  618. <div class="sub header">DOM settings specify how this module should interface with the DOM</div>
  619. </h3>
  620. <table class="ui celled sortable definition table segment">
  621. <thead>
  622. <tr>
  623. <th>Setting</th>
  624. <th class="four wide">Default</th>
  625. <th>Description</th>
  626. </tr>
  627. </thead>
  628. <tbody>
  629. <tr>
  630. <td>namespace</td>
  631. <td>dropdown</td>
  632. <td>Event namespace. Makes sure module teardown does not effect other events attached to an element.</td>
  633. </tr>
  634. <tr>
  635. <td>selector</td>
  636. <td colspan="2">
  637. <div class="code">
  638. selector : {
  639. input : '> input[type="hidden"]',
  640. item : '.menu > .item',
  641. menu : '.menu',
  642. text : '> .text'
  643. }
  644. </div>
  645. </td>
  646. </tr>
  647. <tr>
  648. <td>metadata</td>
  649. <td colspan="2">
  650. <div class="code">
  651. metadata: {
  652. text : 'text',
  653. value : 'value'
  654. }
  655. </div>
  656. </td>
  657. </tr>
  658. <tr>
  659. <td>className</td>
  660. <td colspan="2">
  661. <div class="code">
  662. className : {
  663. active : 'active',
  664. disabled : 'disabled',
  665. placeholder : 'default',
  666. visible : 'visible'
  667. }
  668. </div>
  669. </td>
  670. </tr>
  671. </tbody>
  672. </table>
  673. <h3 class="ui header">
  674. Debug Settings
  675. <div class="sub header">Debug settings controls debug output to the console</div>
  676. </h3>
  677. <table class="ui celled sortable definition table segment">
  678. <thead>
  679. <tr>
  680. <th>Setting</th>
  681. <th class="four wide">Default</th>
  682. <th>Description</th>
  683. </tr>
  684. </thead>
  685. <tbody>
  686. <tr>
  687. <td>name</td>
  688. <td>Dropdown</td>
  689. <td>Name used in debug logs</td>
  690. </tr>
  691. <tr>
  692. <td>debug</td>
  693. <td>True</td>
  694. <td>Provides standard debug output to console</td>
  695. </tr>
  696. <tr>
  697. <td>performance</td>
  698. <td>True</td>
  699. <td>Provides standard debug output to console</td>
  700. </tr>
  701. <tr>
  702. <td>verbose</td>
  703. <td>True</td>
  704. <td>Provides ancillary debug output to console</td>
  705. </tr>
  706. <tr>
  707. <td>error</td>
  708. <td colspan="2">
  709. <div class="code">
  710. error : {
  711. action : 'You called a dropdown action that was not defined',
  712. method : 'The method you called is not defined.',
  713. transition : 'The requested transition was not found'
  714. }
  715. </div>
  716. </td>
  717. </tr>
  718. </tbody>
  719. </table>
  720. </div>
  721. </div>