# File actionview/lib/action_view/helpers/asset_tag_helper. Stylesheet_link_tag "random.styles", "/css/stylish" Stylesheet_link_tag "style", media: "print" Stylesheet_link_tag "style", media: "all" Stylesheet_link_tag "style.less", extname: false, skip_pipeline: true, rel: "stylesheet/less" :skip_pipeline - This option is used to bypass the asset pipeline when it is set to true. :host - When a relative URL is provided the host is added to the that path. This option only applies when a relative URL and host options are provided. PDFKit show all Defined in: lib/pdfkit/os.rb, lib/pdfkit/pdfkit.rb, lib/pdfkit/source.rb, lib/pdfkit/version.rb, lib/pdfkit/middleware.rb, lib/pdfkit/wkhtmltopdf. :protocol - Sets the protocol of the generated URL. :extname - Append an extension to the generated URL unless the extension already exists. If the server supports Early Hints, header links for these assets will be automatically pushed. You can modify the link attributes by passing a hash as the last argument. css appended to the path, set extname: false in the options. Returns a stylesheet link tag for the sources specified as arguments. :title - Specify the title of the link, defaults to the typeĪuto_discovery_link_tag(:rss, " if integrity preload_link += " nopush" if nopush send_preload_links_header() :type - Override the auto-generated mime type A Ruby gem to transform HTML + CSS into PDFs using the command-line utility wkhtmltopdf - GitHub - pdfkit/pdfkit: A Ruby gem to transform HTML + CSS into. :rel - Specify the relation of this link, defaults to “alternate” You can modify the LINK tag itself in tag_options. Control the link options in url_for format using the url_options. The type can be :rss (default), :atom, or :json. Returns a link tag that browsers and feed readers can use to auto-detect an RSS, Atom, or JSON feed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |