Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

docs(mdPanel): fix formatting #9562

Merged
merged 1 commit into from
Sep 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions src/components/panel/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ angular
* @usage
* <hljs lang="js">
* (function(angular, undefined) {
* use strict;
* 'use strict';
*
* angular
* .module('demoApp', ['ngMaterial'])
Expand Down Expand Up @@ -64,11 +64,9 @@ angular
* });
* }
*
* function DialogController(MdPanelRef, toppings) {
* var toppings;
*
* function DialogController(MdPanelRef) {
* function closeDialog() {
* MdPanelRef && MdPanelRef.close();
* if (MdPanelRef) MdPanelRef.close();
* }
* }
* })(angular);
Expand Down Expand Up @@ -528,8 +526,10 @@ angular
* xPosition must be one of the following values available on
* $mdPanel.xPosition:
*
*
* CENTER | ALIGN_START | ALIGN_END | OFFSET_START | OFFSET_END
*
* <pre>
* *************
* * *
* * PANEL *
Expand All @@ -542,12 +542,14 @@ angular
* C: CENTER
* D: ALIGN_END (for LTR displays)
* E: OFFSET_END (for LTR displays)
* </pre>
*
* yPosition must be one of the following values available on
* $mdPanel.yPosition:
*
* CENTER | ALIGN_TOPS | ALIGN_BOTTOMS | ABOVE | BELOW
*
* <pre>
* F
* G *************
* * *
Expand All @@ -561,6 +563,7 @@ angular
* H: CENTER
* I: ALIGN_BOTTOMS
* J: ABOVE
* </pre>
*
* @param {string} xPosition
* @param {string} yPosition
Expand Down