mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 22:51:14 +00:00
Fixing jsdoc example padding (denoland/deno_std#322)
Original: a0ff487a12
This commit is contained in:
parent
fd170692dd
commit
0ff0ba2b32
2 changed files with 21 additions and 20 deletions
|
@ -21,15 +21,15 @@ export interface FillOption {
|
|||
* is equal to the `strLen` parameter.
|
||||
* Example:
|
||||
*
|
||||
* pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
|
||||
* pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
|
||||
* pad("denosorusrex", 6 {
|
||||
* char: "*",
|
||||
* side: "left",
|
||||
* strict: true,
|
||||
* strictSide: "right",
|
||||
* strictChar: "..."
|
||||
* }) // output : "den..."
|
||||
* pad("deno", 6, { char: "*", side: "left" }) // output : "**deno"
|
||||
* pad("deno", 6, { char: "*", side: "right"}) // output : "deno**"
|
||||
* pad("denosorusrex", 6 {
|
||||
* char: "*",
|
||||
* side: "left",
|
||||
* strict: true,
|
||||
* strictSide: "right",
|
||||
* strictChar: "..."
|
||||
* }) // output : "den..."
|
||||
*
|
||||
* @param input Input string
|
||||
* @param strLen Output string lenght
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue