Skip to content

Commit

Permalink
Add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hallee committed May 21, 2021
1 parent 9cb3f16 commit ae6a174
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Plot/API/HTMLComponents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public extension Node where Context == HTML.HeadContext {
/// - parameter widthMode: How the viewport's width should scale according
/// to the device the page is being rendered on. See `HTMLViewportWidthMode`.
/// - parameter initialScale: The initial scale that the page should use.
/// - parameter fit: How the viewport should be laid out on screen in relation
/// to the screen’s safe area insets. See `HTMLViewportFitMode`.
static func viewport(_ widthMode: HTMLViewportWidthMode,
initialScale: Double = 1,
fit: HTMLViewportFitMode? = nil) -> Node {
Expand Down

0 comments on commit ae6a174

Please sign in to comment.