我有一个可拖动元素,该元素使用handle选项定义可以从何处拖动
RewriteEngine On
# To externally redirect /dir/file.php to /dir/file
RewriteCond %{THE_REQUEST} \s/+(.+?)\.php[\s?] [NC]
RewriteRule ^ /%1 [R=301,NE,L]
## To internally rewrite /dir/file to /dir/file.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+?)/?$ $1.php [L]
我的div可以在其中输入的情况下拖动。
using System;
using System.Linq;
using System.Web;
using Firebase.NET.Contracts;
using Firebase.NET.Messages;
using Firebase.NET.Notifications;
using Firebase.NET;
using System.Configuration;
// using System.Collections.Generic;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SampleAPI
{
public class SendFirebasePush
{
public async Task SFPExecute(string FireBasePushRegToken, string FireBasePushTitle, string FireBasePushBody, Dictionary<string, string> FireBasePushData)
{
string[] ids = {
//registration tokens here
FireBasePushRegToken
};
var requestMessage = new RequestMessage
{
Body =
{
RegistrationIds = ids,
Notification = new CrossPlatformNotification
{
//Title = "Message Received:",
Title = FireBasePushTitle,
// Body = "Check your Inbox.",
Body = FireBasePushBody,
Sound = "default"
},
/*
Data = new Dictionary<string, string>
{
{ "leage", "UEFA" },
{ "game", "Albania vs Kosovo" },
{ "score", "1:1" }
}
*/
// this part he doesn´t like and I am getting the mentioned error. Also creating a new dictionary described above doesn´t work.
Data = FireBasePushData
}
};
// securely pointing to Azure AppSettings
var GoogleFirebasePushKey = ConfigurationManager.AppSettings["GoogleFirebasePush_SampleAPI"];
var pushService = new PushNotificationService(GoogleFirebasePushKey);
var responseMessage = await pushService.PushMessage(requestMessage);
}
}
}
我希望能够拖动整个div,但不能从输入字段中拖动。
谢谢