
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
npm install ph-grid-layout
import { PhGrid, PhGridItem } from 'ph-grid-layout'
<ph-grid :shadow="true" :border="true">
<ph-grid-item style="height:200px" class="ph-primary">
<img src="../assets/logo.png" alt="">
</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-success">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-warning">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-danger">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-info">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-danger">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-warning">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-success">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-primary">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-success">你好</ph-grid-item>
<ph-grid-item style="height:200px" class="ph-warning">你好</ph-grid-item>
</ph-grid>
interface PhGrid{
colGap:String,//列间距15px
rowGap:String,//行间距15px
radius:String,//item 圆角 4px
padding:String,//item padding
border:Boolean,//item border 启用 ,false
shadow:Boolean,//item hover 阴影启用 false
//不同分辨率下 的列数
all:Number,//所有分辨率 自适应 优先级高于其他
xs:Number,//480->1
sm:Number,//768->2
md:Number,//992->3
lg:Number,//1200->4
xl:Number,//1920->6
}
interface PhGridItem{
place:String // -> 参考css :place-self 属性,
colSpan:Number,//跨行
rowSpan:Number //跨列
colOffset:Number,//列偏移
rowOffset:Number //行偏移
}
FAQs
## install ``` npm install ph-grid-layout ```
We found that ph-scroll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.