Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSSFeature ¶ added in v0.7.9
type CSSFeature uint32
const ( HexRGBA CSSFeature = 1 << iota RebeccaPurple // This feature includes all of the following: // - Allow floats in rgb() and rgba() // - hsl() can accept alpha values // - rgb() can accept alpha values // - Space-separated functional color notations Modern_RGB_HSL InsetProperty )
func UnsupportedCSSFeatures ¶ added in v0.7.9
func UnsupportedCSSFeatures(constraints map[Engine][]int) (unsupported CSSFeature)
Return all features that are not available in at least one environment
func (CSSFeature) Has ¶ added in v0.7.9
func (features CSSFeature) Has(feature CSSFeature) bool
type JSFeature ¶ added in v0.7.9
type JSFeature uint64
const ( ArbitraryModuleNamespaceNames JSFeature = 1 << iota ArraySpread Arrow AsyncAwait AsyncGenerator BigInt Class ClassField ClassPrivateAccessor ClassPrivateBrandCheck ClassPrivateField ClassPrivateMethod ClassPrivateStaticAccessor ClassPrivateStaticField ClassPrivateStaticMethod ClassStaticBlocks ClassStaticField Const DefaultArgument Destructuring DynamicImport ExponentOperator ExportStarAs ForAwait ForOf Generator Hashbang ImportAssertions ImportMeta Let LogicalAssignment NestedRestBinding NewTarget NodeColonPrefixImport NodeColonPrefixRequire NullishCoalescing ObjectAccessors ObjectExtensions ObjectRestSpread OptionalCatchBinding OptionalChain RestArgument TemplateLiteral TopLevelAwait UnicodeEscapes )
func UnsupportedJSFeatures ¶ added in v0.7.9
Return all features that are not available in at least one environment
Click to show internal directories.
Click to hide internal directories.