API Docs for:
Show:

StylesCollection Class

Styles collection class. A DocPad project's style (css) file paths

Constructor

StylesCollection

()

Item Index

Methods

Properties

Methods

add

(
  • values
  • opts
)

Add an element to the collection Right now we just support strings

Parameters:

  • values Array

    string array of file paths

  • opts Object

toHTML

() String

Create a way to output our elements to HTML

Returns:

String:

Properties

model

Object

Base Model for all items in this collection