# yii-layer **Repository Path**: yty9898/yii-layer ## Basic Information - **Project Name**: yii-layer - **Description**: xsteach yii2-layer弹窗 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-04-01 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # js提示弹窗 使用样例 ``` layer.confirm('

确定要删除 ID= '+id+'这个公告吗?

', { btn : ['确定', '取消'], area : ['350px' , '220px'], //设置宽高 title : '提示' }, function(){//btn yes时调用的方法 location.href = $url; }, function(){ //btn calcel时调用的方法 return false; }); ```