Sha256: 89654f237793e179e740e68a712038a3197a67099df2e378e86e0e34baedc607
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true module PuppeteerEntity module Attributes class StyleTag < Dry::Struct transform_keys(&:to_sym) # the URL of the CSS file to be added. attribute? :url, Types::URL.optional # The path to a CSS file to be injected into the frame. attribute? :path, Types::String.optional # Raw CSS content to be injected into the frame. attribute? :content, Types::String.optional end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puppeteer_entity-0.1.1 | lib/puppeteer_entity/attributes/style_tag.rb |
puppeteer_entity-0.1.0 | lib/puppeteer_entity/attributes/style_tag.rb |