Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Docs for injected CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Mar 13, 2017
1 parent c75b7bf commit 16ec16e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/2.3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This section lists config options for `<style>` elements.
The `css` option accepts style handling options.
- Set `css: null` to extract a consolidated style file in `dist/bundle.css`.
- Set `css: false` to disable style at all.
- Set `css: true` to dynamically inject as <style> tags via JavaScript.
- Set `css: String` (eg: `css: 'dist/css/my-bundle.css`) to extract a consolidated style file in `dist/css/my-bundle.css`.
- Set `css: Function` to provide a custom handler. Your handler would receive 3 parameters:
- `style: String` - A string with all style elements' content concatenated.
Expand Down

0 comments on commit 16ec16e

Please sign in to comment.