Download the PHP package sy/webcomponent without Composer
On this page you can find all versions of the php package sy/webcomponent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sy/webcomponent
More information about sy/webcomponent
Files in sy/webcomponent
Download sy/webcomponent
More information about sy/webcomponent
Files in sy/webcomponent
Vendor sy
Package webcomponent
Short Description Component with css, js and translation properties
License MIT
Package webcomponent
Short Description Component with css, js and translation properties
License MIT
Please rate this library. Is it a good library?
Informations about the package webcomponent
sy/webcomponent
A web component is a component with CSS and JS properties.
Sy\Component\WebComponent class derives from Sy\Component
Installation
Install the latest version with
CSS/JS management
CSS/JS link
Use addCssLink and addJsLink to specify stylesheet and javascript source path.
Example:
Output:
CSS/JS code
Use addCssCode and addJsCode to specify stylesheet and javascript code.
Example:
CSS/JS transmission to parent component
When you add a component B on another component A, all CSS and JS properties of B are transmitted to A.
Exemple:
Output:
All versions of webcomponent with dependencies
PHP Build Version
Package Version
The package sy/webcomponent contains the following files
Loading the files please wait ....